Trait askar_crypto::repr::KeyMeta[][src]

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

For concrete secret key types

Associated Types

type KeySize: ArrayLength<u8>[src]

Expand description

The size of the key secret bytes

Loading content...

Implementors

impl KeyMeta for Ed25519KeyPair[src]

This is supported on crate feature ed25519 only.

type KeySize = U32

impl KeyMeta for K256KeyPair[src]

This is supported on crate feature k256 only.

type KeySize = U32

impl KeyMeta for P256KeyPair[src]

This is supported on crate feature p256 only.

type KeySize = U32

impl KeyMeta for X25519KeyPair[src]

This is supported on crate feature ed25519 only.

type KeySize = U32

impl<Pk: BlsPublicKeyType> KeyMeta for BlsKeyPair<Pk>[src]

This is supported on crate feature bls only.

type KeySize = U32

impl<T: AesType> KeyMeta for AesKey<T>[src]

This is supported on crate feature aes only.

type KeySize = T::KeySize

impl<T: Chacha20Type> KeyMeta for Chacha20Key<T>[src]

This is supported on crate feature chacha only.

type KeySize = <T::Aead as NewAead>::KeySize

Loading content...