Struct salty::signature::PublicKey [−][src]
pub struct PublicKey { pub compressed: CompressedY, // some fields omitted }
Expand description
a public key, consisting internally of both its defining point (the secret scalar times the curve base point) and the compression of that point.
Fields
compressed: CompressedY
Implementations
pub fn verify_with_context(
&self,
message: &[u8],
signature: &Signature,
context: &[u8]
) -> Result
[src]pub fn verify_prehashed(
&self,
prehashed_message: &[u8; 64],
signature: &Signature,
context: Option<&[u8]>
) -> Result
[src]