pub trait Sign {
    type Private: ?Sized;
    type Output;

    fn sign(message: &[u8], key: &Self::Private) -> Result<Self::Output, Error>;
}
Expand description

A common interface for digital signature creation.

Required Associated Types

The private key type of this signature implementation.

The output type of this signature implementation.

Required Methods

Signs the given message with key and returns a digital signature.

Implementors