pub trait Verifier<S> where
S: Signature, {
fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>;
}
Expand description
Verify the provided message bytestring using Self
(e.g. a public key)
pub trait Verifier<S> where
S: Signature, {
fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>;
}
Verify the provided message bytestring using Self
(e.g. a public key)