pub trait Sign<MSG> {
    type Signature;
    type Error;

    fn sign(&self, m: MSG) -> Result<Self::Signature, Self::Error>;
}
Available on crate feature testutils only.
Expand description

Sign implementations produce signatures for types that can be represented as the MSG.

Required Associated Types§

Required Methods§

Sign produces a signature for MSGs.

Implementors§