Trait iota_types::crypto::Authenticator
pub trait Authenticator: ToFromBytes + Display + Serialize + DeserializeOwned + Send + Sync + 'static + Clone {
type PubKey: VerifyingKey<Sig = Self>;
type PrivKey: 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§
type PubKey: VerifyingKey<Sig = Self>
type PrivKey: SigningKey<Sig = Self>
Required Associated Constants§
Object Safety§
This trait is not object safe.