Struct tlspuffin::claims::Finished

source ·
pub struct Finished {
    pub outbound: bool,
    pub client_random: SmallVec<[u8; 32]>,
    pub server_random: SmallVec<[u8; 32]>,
    pub session_id: SmallVec<[u8; 32]>,
    pub authenticate_peer: bool,
    pub peer_certificate: SmallVec<[u8; 32]>,
    pub master_secret: SmallVec<[u8; 32]>,
    pub chosen_cipher: u16,
    pub available_ciphers: SmallVec<[u16; 20]>,
    pub signature_algorithm: i32,
    pub peer_signature_algorithm: i32,
}

Fields§

§outbound: bool§client_random: SmallVec<[u8; 32]>§server_random: SmallVec<[u8; 32]>§session_id: SmallVec<[u8; 32]>§authenticate_peer: bool§peer_certificate: SmallVec<[u8; 32]>

DER encoded certificate. DER works, because: DER is a subset of BER providing for exactly one way to encode an ASN.1 value. (https://en.wikipedia.org/wiki/X.690#DER_encoding)

§master_secret: SmallVec<[u8; 32]>§chosen_cipher: u16§available_ciphers: SmallVec<[u16; 20]>§signature_algorithm: i32§peer_signature_algorithm: i32

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 [TupleList], of an [Prepend::prepend()] call, including the prepended entry.
Prepend a value to this tuple, returning a new tuple with prepended value.
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.