Enum tls_parser::TlsMessageHandshake[][src]

pub enum TlsMessageHandshake<'a> {
Show 17 variants HelloRequest, ClientHello(TlsClientHelloContents<'a>), ServerHello(TlsServerHelloContents<'a>), ServerHelloV13Draft18(TlsServerHelloV13Draft18Contents<'a>), NewSessionTicket(TlsNewSessionTicketContent<'a>), EndOfEarlyData, HelloRetryRequest(TlsHelloRetryRequestContents<'a>), Certificate(TlsCertificateContents<'a>), ServerKeyExchange(TlsServerKeyExchangeContents<'a>), CertificateRequest(TlsCertificateRequestContents<'a>), ServerDone(&'a [u8]), CertificateVerify(&'a [u8]), ClientKeyExchange(TlsClientKeyExchangeContents<'a>), Finished(&'a [u8]), CertificateStatus(TlsCertificateStatusContents<'a>), NextProtocol(TlsNextProtocolContent<'a>), KeyUpdate(u8),
}
Expand description

Generic handshake message

Variants

HelloRequest
ClientHello(TlsClientHelloContents<'a>)

Tuple Fields of ClientHello

0: TlsClientHelloContents<'a>
ServerHello(TlsServerHelloContents<'a>)

Tuple Fields of ServerHello

0: TlsServerHelloContents<'a>
ServerHelloV13Draft18(TlsServerHelloV13Draft18Contents<'a>)

Tuple Fields of ServerHelloV13Draft18

0: TlsServerHelloV13Draft18Contents<'a>
NewSessionTicket(TlsNewSessionTicketContent<'a>)

Tuple Fields of NewSessionTicket

0: TlsNewSessionTicketContent<'a>
EndOfEarlyData
HelloRetryRequest(TlsHelloRetryRequestContents<'a>)

Tuple Fields of HelloRetryRequest

0: TlsHelloRetryRequestContents<'a>
Certificate(TlsCertificateContents<'a>)

Tuple Fields of Certificate

0: TlsCertificateContents<'a>
ServerKeyExchange(TlsServerKeyExchangeContents<'a>)

Tuple Fields of ServerKeyExchange

0: TlsServerKeyExchangeContents<'a>
CertificateRequest(TlsCertificateRequestContents<'a>)

Tuple Fields of CertificateRequest

0: TlsCertificateRequestContents<'a>
ServerDone(&'a [u8])

Tuple Fields of ServerDone

0: &'a [u8]
CertificateVerify(&'a [u8])

Tuple Fields of CertificateVerify

0: &'a [u8]
ClientKeyExchange(TlsClientKeyExchangeContents<'a>)

Tuple Fields of ClientKeyExchange

0: TlsClientKeyExchangeContents<'a>
Finished(&'a [u8])

Tuple Fields of Finished

0: &'a [u8]
CertificateStatus(TlsCertificateStatusContents<'a>)

Tuple Fields of CertificateStatus

0: TlsCertificateStatusContents<'a>
NextProtocol(TlsNextProtocolContent<'a>)

Tuple Fields of NextProtocol

0: TlsNextProtocolContent<'a>
KeyUpdate(u8)

Tuple Fields of KeyUpdate

0: u8

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.