[−][src]Trait tink_core::Verifier
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
fn verify(&self, signature: &[u8], data: &[u8]) -> Result<(), TinkError>
Returns Ok(()) if signature is a valid signature for data; otherwise returns an error.