Trait signatory::DigestVerifier[][src]

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

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

Implementors