Trait quinn::crypto::HandshakeTokenKey [−][src]
A pseudo random key for HKDF
Associated Types
Loading content...Required methods
pub fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Self::AeadKey
[src]
Derive AEAD using hkdf
pub fn from_secret(secret: &[u8]) -> Self
[src]
Method to build pseudo random key from existing bytes
Implementations on Foreign Types
impl HandshakeTokenKey for Prk
[src]
type AeadKey = LessSafeKey
pub fn aead_from_hkdf(
&self,
random_bytes: &[u8]
) -> <Prk as HandshakeTokenKey>::AeadKey
[src]
&self,
random_bytes: &[u8]
) -> <Prk as HandshakeTokenKey>::AeadKey