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]),
    KeyShareOld(&'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>>),
    PostHandshakeAuth,
    NextProtocolNegotiation,
    RenegotiationInfo(&'a [u8]),
    Unknown(u16&'a [u8]),
}

TLS extensions

Variants

Trait Implementations

impl<'a> Clone for TlsExtension<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for TlsExtension<'a>
[src]

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

This method tests for !=.

impl<'a> From<&'a TlsExtension<'a>> for TlsExtensionType
[src]

Performs the conversion.

impl<'a> Debug for TlsExtension<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for TlsExtension<'a>

impl<'a> Sync for TlsExtension<'a>