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