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§
source§impl EvaluatedTerm<TLSProtocolTypes> for Finished
impl EvaluatedTerm<TLSProtocolTypes> for Finished
source§fn extract_knowledge<'a>(
&'a self,
_knowledges: &mut Vec<Knowledge<'a, TLSProtocolTypes>>,
_matcher: Option<<TLSProtocolTypes as ProtocolTypes>::Matcher>,
_source: &'a Source,
) -> Result<(), Error>
fn extract_knowledge<'a>( &'a self, _knowledges: &mut Vec<Knowledge<'a, TLSProtocolTypes>>, _matcher: Option<<TLSProtocolTypes as ProtocolTypes>::Matcher>, _source: &'a Source, ) -> Result<(), Error>
Fill
knowledges
with new knowledge gathered form the type implementing EvaluatedTerm
by recursively calling extract_knowledge on all contained element
This will put source as the source of all the produced knowledge, matcher is also passed
recursively but might be overwritten by a type with a more specific matcherAuto Trait Implementations§
impl Freeze for Finished
impl RefUnwindSafe for Finished
impl Send for Finished
impl Sync for Finished
impl Unpin for Finished
impl UnwindSafe for Finished
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneAny for T
impl<T> CloneAny for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.