pub trait SigningKey: 'static + ToFromBytes + Serialize + DeserializeOwned + Send + Sync {
    type PubKey: VerifyingKey
    where
        <Self::PubKey as VerifyingKey>::PrivKey == Self
; type Sig: Authenticator
    where
        <Self::Sig as Authenticator>::PrivKey == Self
; const LENGTH: usize; }
Expand description

Trait impl’d by private (secret) keys in asymmetric cryptography.

The trait bounds are implemented so as to be symmetric and equivalent to the ones on its associated types for public key and signature material.

Required Associated Types

Required Associated Constants

Implementors

Implement SigningKey