pub trait Verifier<S: Signature> { // Required method fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>; }
Verify the provided message bytestring using Self (e.g. a public key)
Self
Use Self to verify that the provided signature for a given message bytestring is authentic.
Returns Error if it is inauthentic, or otherwise returns ().
Error
()