Skip to main content

KeypairMeta

Trait KeypairMeta 

Source
pub trait KeypairMeta: KeyMeta {
    type PublicKeySize: ArrayLength<u8>;
    type KeypairSize: ArrayLength<u8>;
}
Expand description

For concrete secret + public key types

Required Associated Types§

Source

type PublicKeySize: ArrayLength<u8>

The size of the key public bytes

Source

type KeypairSize: ArrayLength<u8>

The size of the secret bytes and public bytes combined

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl KeypairMeta for Ed25519KeyPair

Available on crate feature ed25519 only.
Source§

impl KeypairMeta for K256KeyPair

Available on crate feature k256 only.
Source§

impl KeypairMeta for P256KeyPair

Available on crate features p256_hardware or p256 only.
Source§

impl KeypairMeta for P384KeyPair

Available on crate feature p384 only.
Source§

impl KeypairMeta for X25519KeyPair

Available on crate feature ed25519 only.
Source§

impl<Pk> KeypairMeta for BlsKeyPair<Pk>

Available on crate feature bls only.