#[repr(C)]
pub struct dtls_security_parameters_t { pub compression: dtls_compression_t, pub cipher: dtls_cipher_t, pub epoch: u16, pub rseq: u64, pub key_block: [uint8; 40], pub cseq: seqnum_t, }

Fields

compression: dtls_compression_t

< compression method

cipher: dtls_cipher_t

< cipher type

epoch: u16

< counter for cipher state changes

rseq: u64

< sequence number of last record sent

key_block: [uint8; 40]

The key block generated from PRF applied to client and server random bytes. The actual size is given by the selected cipher and can be calculated using dtls_kb_size(). Use \c dtls_kb_ macros to access the components of the key block.

cseq: seqnum_t

<sequence number of last record received

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.