rustls::common_state

Type Alias HandshakeFlightTls12

Source
pub(crate) type HandshakeFlightTls12<'a> = HandshakeFlight<'a, false>;

Aliased Type§

struct HandshakeFlightTls12<'a> {
    pub(crate) transcript: &'a mut HandshakeHash,
    body: Vec<u8>,
}

Fields§

§transcript: &'a mut HandshakeHash§body: Vec<u8>

Implementations

Source§

impl<'a, const TLS13: bool> HandshakeFlight<'a, TLS13>

Source

pub(crate) fn new(transcript: &'a mut HandshakeHash) -> Self

Source

pub(crate) fn add(&mut self, hs: HandshakeMessagePayload<'_>)

Source

pub(crate) fn finish(self, common: &mut CommonState)