Skip to main content

KeyType

Trait KeyType 

pub trait KeyType {
    // Required method
    fn len(&self) -> usize;
}
Available on crate features crypto and ring and std only.
Expand description

The length of the OKM (Output Keying Material) for a Prk::expand() call.

Required Methods§

fn len(&self) -> usize

The length that Prk::expand() should expand its input to.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

§

impl KeyType for &'static rama::crypto::dep::ring::aead::Algorithm

§

impl KeyType for &'static rama::crypto::dep::ring::aead::quic::Algorithm

§

impl KeyType for rama::crypto::dep::ring::hkdf::Algorithm

§

impl KeyType for rama::crypto::dep::ring::hmac::Algorithm