Skip to main content

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

Dyn Compatibility§

This trait is dyn compatible.

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

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_hardware or p256 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.