Struct tls_parser::tls::TlsClientHelloContents[][src]

pub struct TlsClientHelloContents<'a> {
    pub version: TlsVersion,
    pub rand_time: u32,
    pub rand_data: &'a [u8],
    pub session_id: Option<&'a [u8]>,
    pub ciphers: Vec<TlsCipherSuiteID>,
    pub comp: Vec<TlsCompressionID>,
    pub ext: Option<&'a [u8]>,
}

TLS Client Hello (from TLS 1.0 to TLS 1.2)

Some fields are unparsed (for performance reasons), for ex to parse ext, call the parse_tls_extensions function.

Fields

TLS version of message

A list of ciphers supported by client

A list of compression methods supported by client

Methods

impl<'a> TlsClientHelloContents<'a>
[src]

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for TlsClientHelloContents<'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> Debug for TlsClientHelloContents<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for TlsClientHelloContents<'a>

impl<'a> Sync for TlsClientHelloContents<'a>