Trait quinn::crypto::HeaderKeys [−][src]
Keys used to protect packet headers
Required methods
pub fn decrypt(&self, pn_offset: usize, packet: &mut [u8])
[src]
Decrypt the given packet’s header
pub fn encrypt(&self, pn_offset: usize, packet: &mut [u8])
[src]
Encrypt the given packet’s header
pub fn sample_size(&self) -> usize
[src]
The sample size used for this key’s algorithm