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.

Implementations on Foreign Types§

source§

impl KeypairRef for SigningKey

§

impl<C> KeypairRef for SigningKey<C>where C: PrimeCurve + CurveArithmetic, <C as CurveArithmetic>::Scalar: Invert<Output = CtOption<<C as CurveArithmetic>::Scalar>> + SignPrimitive<C>, <<C as Curve>::FieldBytesSize as Add<<C as Curve>::FieldBytesSize>>::Output: ArrayLength<u8>,

§

type VerifyingKey = VerifyingKey<C>

Implementors§