[][src]Trait tink_core::Verifier

pub trait Verifier: VerifierBoxClone {
    pub fn verify(&self, signature: &[u8], data: &[u8]) -> Result<(), TinkError>;
}

Verifier is the verifying interface for digital signature.

Implementations of this trait are secure against adaptive chosen-message attacks. Signing data ensures authenticity and integrity of that data, but not its secrecy.

Required methods

pub fn verify(&self, signature: &[u8], data: &[u8]) -> Result<(), TinkError>[src]

Loading content...

Implementors

Loading content...