[−][src]Trait signature::Verifier
Verify the provided message bytestring using Self
(e.g. a public key)
Required methods
fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>
Use Self
to verify that the provided signature for a given message
bytestring is authentic.
Returns Error
if it is inauthentic, or otherwise returns ()
.
Implementors
impl<S, T> Verifier<S> for T where
S: DigestSignature,
T: DigestVerifier<S::Digest, S>,
[src]
S: DigestSignature,
T: DigestVerifier<S::Digest, S>,