[][src]Trait signatory::DigestVerifier

pub trait DigestVerifier<D, S>: Send + Sync where
    D: Digest,
    S: Signature
{ fn verify(&self, digest: D, signature: &S) -> Result<(), Error>; }

Trait for verifiers which take a prehashed Digest as input. The digest cargo feature must be enabled for this to be available.

Required methods

fn verify(&self, digest: D, signature: &S) -> Result<(), Error>

Verify the signature against the output of the given Digest using the public key this verifier was instantiated with.

Loading content...

Implementors

Loading content...