Skip to main content

ssl_handshake_params

Struct ssl_handshake_params 

Source
#[repr(C)]
pub struct ssl_handshake_params {
Show 43 fields pub max_major_ver: u8, pub max_minor_ver: u8, pub resume: u8, pub cli_exts: u8, pub sni_authmode: u8, pub new_session_ticket: u8, pub extended_ms: u8, pub retransmit_state: c_uchar, pub hash_algs: ssl_sig_hash_set_t, pub pmslen: usize, pub ciphersuite_info: *const ssl_ciphersuite_t, pub update_checksum: Option<unsafe extern "C" fn(arg1: *mut ssl_context, arg2: *const c_uchar, arg3: usize)>, pub calc_verify: Option<unsafe extern "C" fn(arg1: *const ssl_context, arg2: *mut c_uchar, arg3: *mut usize)>, pub calc_finished: Option<unsafe extern "C" fn(arg1: *mut ssl_context, arg2: *mut c_uchar, arg3: c_int) -> c_int>, pub tls_prf: ssl_tls_prf_cb, pub dhm_ctx: dhm_context, pub ecdh_ctx: ecdh_context, pub curves: *mut *const ecp_curve_info, pub psk: *mut c_uchar, pub psk_len: usize, pub key_cert: *mut ssl_key_cert, pub sni_key_cert: *mut ssl_key_cert, pub sni_ca_chain: *mut x509_crt, pub sni_ca_crl: *mut x509_crl, pub buffering: ssl_handshake_params__bindgen_ty_1, pub out_msg_seq: c_uint, pub in_msg_seq: c_uint, pub verify_cookie: *mut c_uchar, pub verify_cookie_len: c_uchar, pub retransmit_timeout: u32, pub flight: *mut ssl_flight_item, pub cur_msg: *mut ssl_flight_item, pub cur_msg_p: *mut c_uchar, pub in_flight_start_seq: c_uint, pub alt_transform_out: *mut ssl_transform, pub alt_out_ctr: [c_uchar; 8], pub mtu: u16, pub fin_md5: md5_context, pub fin_sha1: sha1_context, pub fin_sha256: sha256_context, pub fin_sha512: sha512_context, pub randbytes: [c_uchar; 64], pub premaster: [c_uchar; 1060],
}

Fields§

§max_major_ver: u8§max_minor_ver: u8§resume: u8§cli_exts: u8§sni_authmode: u8§new_session_ticket: u8§extended_ms: u8§retransmit_state: c_uchar§hash_algs: ssl_sig_hash_set_t§pmslen: usize§ciphersuite_info: *const ssl_ciphersuite_t§update_checksum: Option<unsafe extern "C" fn(arg1: *mut ssl_context, arg2: *const c_uchar, arg3: usize)>§calc_verify: Option<unsafe extern "C" fn(arg1: *const ssl_context, arg2: *mut c_uchar, arg3: *mut usize)>§calc_finished: Option<unsafe extern "C" fn(arg1: *mut ssl_context, arg2: *mut c_uchar, arg3: c_int) -> c_int>§tls_prf: ssl_tls_prf_cb§dhm_ctx: dhm_context§ecdh_ctx: ecdh_context§curves: *mut *const ecp_curve_info§psk: *mut c_uchar§psk_len: usize§key_cert: *mut ssl_key_cert§sni_key_cert: *mut ssl_key_cert§sni_ca_chain: *mut x509_crt§sni_ca_crl: *mut x509_crl§buffering: ssl_handshake_params__bindgen_ty_1§out_msg_seq: c_uint§in_msg_seq: c_uint§verify_cookie: *mut c_uchar§verify_cookie_len: c_uchar§retransmit_timeout: u32§flight: *mut ssl_flight_item§cur_msg: *mut ssl_flight_item§cur_msg_p: *mut c_uchar§in_flight_start_seq: c_uint§alt_transform_out: *mut ssl_transform§alt_out_ctr: [c_uchar; 8]§mtu: u16§fin_md5: md5_context§fin_sha1: sha1_context§fin_sha256: sha256_context§fin_sha512: sha512_context§randbytes: [c_uchar; 64]§premaster: [c_uchar; 1060]

Trait Implementations§

Source§

impl Clone for ssl_handshake_params

Source§

fn clone(&self) -> ssl_handshake_params

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for ssl_handshake_params

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for ssl_handshake_params

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.