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: ProtocolVersionrandom: Randomsession_id: SessionIDcipher_suites: Vec<CipherSuite>compression_methods: Vec<Compression>extensions: Vec<ClientExtension>

Implementations

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 Debug for ClientHelloPayload[src]

Auto Trait Implementations

impl RefUnwindSafe for ClientHelloPayload

impl Send for ClientHelloPayload

impl Sync for ClientHelloPayload

impl Unpin for ClientHelloPayload

impl UnwindSafe for ClientHelloPayload

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.