Enum tls_parser::tls_extensions::TlsExtension
[−]
[src]
pub enum TlsExtension<'a> {
SNI(Vec<(u8, &'a [u8])>),
MaxFragmentLength(u8),
StatusRequest(Option<(u8, &'a [u8])>),
EllipticCurves(Vec<u16>),
EcPointFormats(&'a [u8]),
SignatureAlgorithms(Vec<(u8, u8)>),
SessionTicket(&'a [u8]),
KeyShare(&'a [u8]),
PreSharedKey(&'a [u8]),
EarlyData(Option<u32>),
SupportedVersions(Vec<u16>),
Cookie(&'a [u8]),
PskExchangeModes(Vec<u8>),
Heartbeat(u8),
ALPN(Vec<&'a [u8]>),
SignedCertificateTimestamp(Option<&'a [u8]>),
Padding(&'a [u8]),
EncryptThenMac,
ExtendedMasterSecret,
OidFilters(Vec<OidFilter<'a>>),
NextProtocolNegotiation,
RenegotiationInfo(&'a [u8]),
Unknown(u16, &'a [u8]),
}TLS extensions
Variants
SNI(Vec<(u8, &'a [u8])>)MaxFragmentLength(u8)StatusRequest(Option<(u8, &'a [u8])>)EllipticCurves(Vec<u16>)EcPointFormats(&'a [u8])SignatureAlgorithms(Vec<(u8, u8)>)SessionTicket(&'a [u8])EarlyData(Option<u32>)SupportedVersions(Vec<u16>)Cookie(&'a [u8])PskExchangeModes(Vec<u8>)Heartbeat(u8)ALPN(Vec<&'a [u8]>)SignedCertificateTimestamp(Option<&'a [u8]>)Padding(&'a [u8])EncryptThenMacExtendedMasterSecretOidFilters(Vec<OidFilter<'a>>)NextProtocolNegotiationRenegotiationInfo(&'a [u8])Unknown(u16, &'a [u8])Trait Implementations
impl<'a> Clone for TlsExtension<'a>[src]
fn clone(&self) -> TlsExtension<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> PartialEq for TlsExtension<'a>[src]
fn eq(&self, __arg_0: &TlsExtension<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TlsExtension<'a>) -> bool
This method tests for !=.