pub trait OneRttKey: Key {
    fn derive_next_key(&self) -> Self;
    fn update_sealer_pmtu(&mut self, pmtu: u16);
    fn update_opener_pmtu(&mut self, pmtu: u16);
}
Expand description

Types for which are able to perform 1-RTT cryptography.

This trait ensures only 1-RTT-level keys are used with Short packets. Any key misuses are caught by the type system.

Required Methods

Implementors