Trait quinn_proto::crypto::HandshakeTokenKey
source · [−]pub trait HandshakeTokenKey: Send + Sync {
fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>;
}
Expand description
A pseudo random key for HKDF
Required Methods
fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>
fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey>
Derive AEAD using hkdf