pub trait Keypair {
type VerifyingKey: Clone;
// Required method
fn verifying_key(&self) -> Self::VerifyingKey;
}Expand description
Signing keypair with an associated verifying key.
This represents a type which holds both a signing key and a verifying key.
Required Associated Types§
Sourcetype VerifyingKey: Clone
type VerifyingKey: Clone
Verifying key type for this keypair.
Required Methods§
Sourcefn verifying_key(&self) -> Self::VerifyingKey
fn verifying_key(&self) -> Self::VerifyingKey
Get the verifying key which can verify signatures produced by the signing key portion of this keypair.
Implementors§
Source§impl<K> Keypair for Kwhere
K: KeypairRef,
impl<K> Keypair for Kwhere
K: KeypairRef,
type VerifyingKey = <K as KeypairRef>::VerifyingKey
Source§impl<P: MlDsaParams> Keypair for ExpandedSigningKey<P>
The signature::Keypair implementation for ExpandedSigningKey allows to derive a
VerifyingKey from a bare ExpandedSigningKey (even in the absence of the original seed).
impl<P: MlDsaParams> Keypair for ExpandedSigningKey<P>
The signature::Keypair implementation for ExpandedSigningKey allows to derive a
VerifyingKey from a bare ExpandedSigningKey (even in the absence of the original seed).