pub trait Verifier {
    // Required method
    fn verify(
        &self,
        data: &[u8],
        signature: &[u8],
        padding: Option<SignaturePadding>
    ) -> Result<()>;
}
Expand description

Verify a signature for a given input using an asymmetric key.

Required Methods§

source

fn verify( &self, data: &[u8], signature: &[u8], padding: Option<SignaturePadding> ) -> Result<()>

Implementors§