Struct quicr_core::ListenKeys[][src]

pub struct ListenKeys {
    pub cookie: [u8; 64],
    pub reset: [u8; 64],
}

Information that should be preserved between restarts for server endpoints.

Keeping this around allows better behavior by clients that communicated with a previous instance of the same endpoint.

Fields

Cryptographic key used to ensure integrity of data included in handshake cookies.

Initialize with random bytes.

Cryptographic key used to send authenticated connection resets to clients who were communicating with a previous instance of tihs endpoint.

Initialize with random bytes.

Methods

impl ListenKeys
[src]

Generate new keys.

Be careful to use a cryptography-grade RNG.

Trait Implementations

impl Copy for ListenKeys
[src]

impl Clone for ListenKeys
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ListenKeys

impl Sync for ListenKeys