Trait async_signature::AsyncKeypair
source · [−]pub trait AsyncKeypair<S>: AsRef<Self::VerifyingKey> + AsyncSigner<S> where
S: Signature + Send + 'static, {
type VerifyingKey: Verifier<S>;
fn verifying_key(&self) -> &Self::VerifyingKey { ... }
}
Expand description
Keypair with async signer component and an associated verifying key.
This represents a type which holds both an async signing key and a verifying key.
Required Associated Types
type VerifyingKey: Verifier<S>
type VerifyingKey: Verifier<S>
Verifying key type for this keypair.
Provided Methods
fn 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.