Trait askar_crypto::sign::KeySigVerify [−][src]
pub trait KeySigVerify { fn verify_signature(
&self,
message: &[u8],
signature: &[u8],
sig_type: Option<SignatureType>
) -> Result<bool, Error>; }
Expand description
Signature verification operations
Required methods
fn verify_signature(
&self,
message: &[u8],
signature: &[u8],
sig_type: Option<SignatureType>
) -> Result<bool, Error>
[src]
&self,
message: &[u8],
signature: &[u8],
sig_type: Option<SignatureType>
) -> Result<bool, Error>
Expand description
Check the validity of signature over a message with the specified signature type.
Implementors
impl KeySigVerify for Ed25519KeyPair
[src]
impl KeySigVerify for Ed25519KeyPair
[src]This is supported on crate feature
ed25519
only.impl KeySigVerify for K256KeyPair
[src]
impl KeySigVerify for K256KeyPair
[src]This is supported on crate feature
k256
only.impl KeySigVerify for P256KeyPair
[src]
impl KeySigVerify for P256KeyPair
[src]This is supported on crate feature
p256
only.