Trait tls_parser::ClientHello [−][src]
pub trait ClientHello<'a> {
fn version(&self) -> TlsVersion;
fn rand_data(&self) -> &'a [u8];
fn session_id(&self) -> Option<&'a [u8]>;
fn ciphers(&self) -> &Vec<TlsCipherSuiteID>;
fn comp(&self) -> &Vec<TlsCompressionID>;
fn ext(&self) -> Option<&'a [u8]>;
fn cipher_suites(&self) -> Vec<Option<&'static TlsCipherSuite>> { ... }
}
Expand description
A trait that both TLS & DTLS satisfy
Required methods
fn version(&self) -> TlsVersion
fn version(&self) -> TlsVersion
TLS version of message
fn ciphers(&self) -> &Vec<TlsCipherSuiteID>
fn ciphers(&self) -> &Vec<TlsCipherSuiteID>
A list of ciphers supported by client
fn comp(&self) -> &Vec<TlsCompressionID>
fn comp(&self) -> &Vec<TlsCompressionID>
A list of compression methods supported by client