pub trait Verify {
    type Public: ?Sized;

    fn verify(
        message: &[u8],
        signature: &[u8],
        key: &Self::Public
    ) -> Result<(), Error>; }
Expand description

A common interface for digital signature verification

Required Associated Types

The public key type of this signature implementation.

Required Methods

Verifies the authenticity of data and signature with key.

Implementors