Struct ring::aead::quic::HeaderProtectionKey[][src]

pub struct HeaderProtectionKey { /* fields omitted */ }
Expand description

A key for generating QUIC Header Protection masks.

Implementations

Create a new header protection key.

key_bytes must be exactly algorithm.key_len bytes long.

Generate a new QUIC Header Protection mask.

sample must be exactly self.algorithm().sample_len() bytes long.

The key’s algorithm.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.