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

Trait impl’d by signatures in asymmetric cryptography.

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

Required Associated Types

Required Associated Constants

Implementors

Implement Authenticator