Struct hyper_static_server::rustls::internal::msgs::handshake::ClientHelloPayload[]

pub struct ClientHelloPayload {
    pub client_version: ProtocolVersion,
    pub random: Random,
    pub session_id: SessionID,
    pub cipher_suites: Vec<CipherSuite, Global>,
    pub compression_methods: Vec<Compression, Global>,
    pub extensions: Vec<ClientExtension, Global>,
}

Fields

client_version: ProtocolVersionrandom: Randomsession_id: SessionIDcipher_suites: Vec<CipherSuite, Global>compression_methods: Vec<Compression, Global>extensions: Vec<ClientExtension, Global>

Implementations

impl ClientHelloPayload

pub fn has_duplicate_extension(&self) -> bool

Returns true if there is more than one extension of a given type.

pub fn find_extension(&self, ext: ExtensionType) -> Option<&ClientExtension>

pub fn get_sni_extension(&self) -> Option<&Vec<ServerName, Global>>

pub fn get_sigalgs_extension(&self) -> Option<&Vec<SignatureScheme, Global>>

pub fn get_namedgroups_extension(&self) -> Option<&Vec<NamedGroup, Global>>

pub fn get_ecpoints_extension(&self) -> Option<&Vec<ECPointFormat, Global>>

pub fn get_alpn_extension(&self) -> Option<&Vec<PayloadU8, Global>>

pub fn get_quic_params_extension(&self) -> Option<Vec<u8, Global>>

pub fn get_ticket_extension(&self) -> Option<&ClientExtension>

pub fn get_versions_extension(&self) -> Option<&Vec<ProtocolVersion, Global>>

pub fn get_keyshare_extension(&self) -> Option<&Vec<KeyShareEntry, Global>>

pub fn has_keyshare_extension_with_duplicates(&self) -> bool

pub fn get_psk(&self) -> Option<&PresharedKeyOffer>

pub fn check_psk_ext_is_last(&self) -> bool

pub fn get_psk_modes(&self) -> Option<&Vec<PSKKeyExchangeMode, Global>>

pub fn psk_mode_offered(&self, mode: PSKKeyExchangeMode) -> bool

pub fn set_psk_binder(&mut self, binder: Vec<u8, Global>)

pub fn ems_support_offered(&self) -> bool

pub fn early_data_extension_offered(&self) -> bool

Trait Implementations

impl Codec for ClientHelloPayload

impl Debug for ClientHelloPayload

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,