Struct rustls::internal::msgs::handshake::ClientHelloPayload [−][src]
pub struct ClientHelloPayload { pub client_version: ProtocolVersion, pub random: Random, pub session_id: SessionID, pub cipher_suites: Vec<CipherSuite>, pub compression_methods: Vec<Compression>, pub extensions: Vec<ClientExtension>, }
Fields
client_version: ProtocolVersion
random: Random
session_id: SessionID
cipher_suites: Vec<CipherSuite>
compression_methods: Vec<Compression>
extensions: Vec<ClientExtension>
Implementations
impl ClientHelloPayload
[src]
impl ClientHelloPayload
[src]pub fn has_duplicate_extension(&self) -> bool
[src]
Returns true if there is more than one extension of a given type.
pub fn find_extension(&self, ext: ExtensionType) -> Option<&ClientExtension>
[src]
pub fn get_sni_extension(&self) -> Option<&ServerNameRequest>
[src]
pub fn get_sigalgs_extension(&self) -> Option<&SupportedSignatureSchemes>
[src]
pub fn get_namedgroups_extension(&self) -> Option<&NamedGroups>
[src]
pub fn get_ecpoints_extension(&self) -> Option<&ECPointFormatList>
[src]
pub fn get_alpn_extension(&self) -> Option<&ProtocolNameList>
[src]
pub fn get_quic_params_extension(&self) -> Option<Vec<u8>>
[src]
pub fn get_ticket_extension(&self) -> Option<&ClientExtension>
[src]
pub fn get_versions_extension(&self) -> Option<&ProtocolVersions>
[src]
pub fn get_keyshare_extension(&self) -> Option<&KeyShareEntries>
[src]
pub fn has_keyshare_extension_with_duplicates(&self) -> bool
[src]
pub fn get_psk(&self) -> Option<&PresharedKeyOffer>
[src]
pub fn check_psk_ext_is_last(&self) -> bool
[src]
pub fn get_psk_modes(&self) -> Option<&PSKKeyExchangeModes>
[src]
pub fn psk_mode_offered(&self, mode: PSKKeyExchangeMode) -> bool
[src]
pub fn set_psk_binder(&mut self, binder: Vec<u8>)
[src]
pub fn ems_support_offered(&self) -> bool
[src]
pub fn early_data_extension_offered(&self) -> bool
[src]
Trait Implementations
impl Codec for ClientHelloPayload
[src]
impl Codec for ClientHelloPayload
[src]