Trait PrivateKey

Source
pub trait PrivateKey:
    Signer
    + Sized
    + ReadExt
    + Encode
    + PartialEq
    + Array { }
Expand description

A Signer that can be serialized/deserialized.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl PrivateKey for commonware_cryptography::bls12381::PrivateKey

Source§

impl PrivateKey for commonware_cryptography::ed25519::PrivateKey

Source§

impl PrivateKey for commonware_cryptography::secp256r1::PrivateKey