Skip to main content

KeypairRef

Trait KeypairRef 

pub trait KeypairRef: AsRef<Self::VerifyingKey> {
    type VerifyingKey: Clone;
}
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§

type VerifyingKey: Clone

Verifying key type for this keypair.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

§

impl<C> KeypairRef for SigningKey<C>

Available on crate feature verifying only.
§

type VerifyingKey = VerifyingKey<C>

Implementors§