pub trait KeyMeta {
type KeySize: ArrayLength<u8>;
}Expand description
For concrete secret key types
Required Associated Types§
Sourcetype KeySize: ArrayLength<u8>
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.
impl KeyMeta for Ed25519KeyPair
Available on crate feature
ed25519 only.Source§impl KeyMeta for K256KeyPair
Available on crate feature k256 only.
impl KeyMeta for K256KeyPair
Available on crate feature
k256 only.Source§impl KeyMeta for P256KeyPair
Available on crate features p256_hardware or p256 only.
impl KeyMeta for P256KeyPair
Available on crate features
p256_hardware or p256 only.Source§impl KeyMeta for P384KeyPair
Available on crate feature p384 only.
impl KeyMeta for P384KeyPair
Available on crate feature
p384 only.Source§impl KeyMeta for X25519KeyPair
Available on crate feature ed25519 only.
impl KeyMeta for X25519KeyPair
Available on crate feature
ed25519 only.Source§impl<Pk: BlsPublicKeyType> KeyMeta for BlsKeyPair<Pk>
Available on crate feature bls only.
impl<Pk: BlsPublicKeyType> KeyMeta for BlsKeyPair<Pk>
Available on crate feature
bls only.Source§impl<T: Chacha20Type> KeyMeta for Chacha20Key<T>
Available on crate feature chacha only.
impl<T: Chacha20Type> KeyMeta for Chacha20Key<T>
Available on crate feature
chacha only.