KeyMeta

Trait KeyMeta 

Source
pub trait KeyMeta {
    type KeySize: ArrayLength<u8>;
}
Expand description

For concrete secret key types

Required Associated Types§

Source

type KeySize: ArrayLength<u8>

The size of the key secret bytes

Implementors§

Source§

impl KeyMeta for Ed25519KeyPair

Available on crate feature ed25519 only.
Source§

impl KeyMeta for K256KeyPair

Available on crate feature k256 only.
Source§

impl KeyMeta for P256KeyPair

Available on crate features p256 or p256_hardware only.
Source§

impl KeyMeta for P384KeyPair

Available on crate feature p384 only.
Source§

impl KeyMeta for X25519KeyPair

Available on crate feature ed25519 only.
Source§

impl<Pk: BlsPublicKeyType> KeyMeta for BlsKeyPair<Pk>

Available on crate feature bls only.
Source§

impl<T: AesType> KeyMeta for AesKey<T>

Available on crate feature aes only.
Source§

impl<T: Chacha20Type> KeyMeta for Chacha20Key<T>

Available on crate feature chacha only.