Trait signatory::Verifier[][src]

pub trait Verifier<I, S: Signature>: Debug + Send + Sync {
    fn verify(&self, input: I, signature: &S) -> Result<(), Error>;
}

Common trait for all signature verification providers

Required Methods

Verify the signature against the given input (message or digest) using the public key this verifier was instantiated with.

This trait should be implemented for the input type which is closest to the provider's own API.

Implementors