Struct esp_idf_sys::mbedtls_ssl_context
source · #[repr(C)]pub struct mbedtls_ssl_context {Show 59 fields
pub private_conf: *const mbedtls_ssl_config,
pub private_state: c_int,
pub private_renego_status: c_int,
pub private_renego_records_seen: c_int,
pub private_tls_version: mbedtls_ssl_protocol_version,
pub private_badmac_seen: c_uint,
pub private_f_vrfy: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut mbedtls_x509_crt, arg3: c_int, arg4: *mut u32) -> c_int>,
pub private_p_vrfy: *mut c_void,
pub private_f_send: mbedtls_ssl_send_t,
pub private_f_recv: mbedtls_ssl_recv_t,
pub private_f_recv_timeout: mbedtls_ssl_recv_timeout_t,
pub private_p_bio: *mut c_void,
pub private_session_in: *mut mbedtls_ssl_session,
pub private_session_out: *mut mbedtls_ssl_session,
pub private_session: *mut mbedtls_ssl_session,
pub private_session_negotiate: *mut mbedtls_ssl_session,
pub private_handshake: *mut mbedtls_ssl_handshake_params,
pub private_transform_in: *mut mbedtls_ssl_transform,
pub private_transform_out: *mut mbedtls_ssl_transform,
pub private_transform: *mut mbedtls_ssl_transform,
pub private_transform_negotiate: *mut mbedtls_ssl_transform,
pub private_p_timer: *mut c_void,
pub private_f_set_timer: mbedtls_ssl_set_timer_t,
pub private_f_get_timer: mbedtls_ssl_get_timer_t,
pub private_in_buf: *mut c_uchar,
pub private_in_ctr: *mut c_uchar,
pub private_in_hdr: *mut c_uchar,
pub private_in_len: *mut c_uchar,
pub private_in_iv: *mut c_uchar,
pub private_in_msg: *mut c_uchar,
pub private_in_offt: *mut c_uchar,
pub private_in_msgtype: c_int,
pub private_in_msglen: usize,
pub private_in_left: usize,
pub private_in_hslen: usize,
pub private_nb_zero: c_int,
pub private_keep_current_message: c_int,
pub private_send_alert: c_uchar,
pub private_alert_type: c_uchar,
pub private_alert_reason: c_int,
pub private_out_buf: *mut c_uchar,
pub private_out_ctr: *mut c_uchar,
pub private_out_hdr: *mut c_uchar,
pub private_out_len: *mut c_uchar,
pub private_out_iv: *mut c_uchar,
pub private_out_msg: *mut c_uchar,
pub private_out_msgtype: c_int,
pub private_out_msglen: usize,
pub private_out_left: usize,
pub private_cur_out_ctr: [c_uchar; 8],
pub private_hostname: *mut c_char,
pub private_alpn_chosen: *const c_char,
pub private_secure_renegotiation: c_int,
pub private_verify_data_len: usize,
pub private_own_verify_data: [c_char; 12],
pub private_peer_verify_data: [c_char; 12],
pub private_f_export_keys: mbedtls_ssl_export_keys_t,
pub private_p_export_keys: *mut c_void,
pub private_user_data: mbedtls_ssl_user_data_t,
}
Fields§
§private_conf: *const mbedtls_ssl_config
§private_state: c_int
§private_renego_status: c_int
§private_renego_records_seen: c_int
§private_tls_version: mbedtls_ssl_protocol_version
§private_badmac_seen: c_uint
§private_f_vrfy: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut mbedtls_x509_crt, arg3: c_int, arg4: *mut u32) -> c_int>
§private_p_vrfy: *mut c_void
§private_f_send: mbedtls_ssl_send_t
§private_f_recv: mbedtls_ssl_recv_t
§private_f_recv_timeout: mbedtls_ssl_recv_timeout_t
§private_p_bio: *mut c_void
§private_session_in: *mut mbedtls_ssl_session
§private_session_out: *mut mbedtls_ssl_session
§private_session: *mut mbedtls_ssl_session
§private_session_negotiate: *mut mbedtls_ssl_session
§private_handshake: *mut mbedtls_ssl_handshake_params
§private_transform_in: *mut mbedtls_ssl_transform
§private_transform_out: *mut mbedtls_ssl_transform
§private_transform: *mut mbedtls_ssl_transform
§private_transform_negotiate: *mut mbedtls_ssl_transform
§private_p_timer: *mut c_void
§private_f_set_timer: mbedtls_ssl_set_timer_t
§private_f_get_timer: mbedtls_ssl_get_timer_t
§private_in_buf: *mut c_uchar
§private_in_ctr: *mut c_uchar
§private_in_hdr: *mut c_uchar
§private_in_len: *mut c_uchar
§private_in_iv: *mut c_uchar
§private_in_msg: *mut c_uchar
§private_in_offt: *mut c_uchar
§private_in_msgtype: c_int
§private_in_msglen: usize
§private_in_left: usize
§private_in_hslen: usize
§private_nb_zero: c_int
§private_keep_current_message: c_int
§private_send_alert: c_uchar
§private_alert_type: c_uchar
§private_alert_reason: c_int
§private_out_buf: *mut c_uchar
§private_out_ctr: *mut c_uchar
§private_out_hdr: *mut c_uchar
§private_out_len: *mut c_uchar
§private_out_iv: *mut c_uchar
§private_out_msg: *mut c_uchar
§private_out_msgtype: c_int
§private_out_msglen: usize
§private_out_left: usize
§private_cur_out_ctr: [c_uchar; 8]
§private_hostname: *mut c_char
§private_alpn_chosen: *const c_char
§private_secure_renegotiation: c_int
§private_verify_data_len: usize
§private_own_verify_data: [c_char; 12]
§private_peer_verify_data: [c_char; 12]
§private_f_export_keys: mbedtls_ssl_export_keys_t
§private_p_export_keys: *mut c_void
§private_user_data: mbedtls_ssl_user_data_t
Trait Implementations§
source§impl Clone for mbedtls_ssl_context
impl Clone for mbedtls_ssl_context
source§fn clone(&self) -> mbedtls_ssl_context
fn clone(&self) -> mbedtls_ssl_context
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for mbedtls_ssl_context
impl Default for mbedtls_ssl_context
impl Copy for mbedtls_ssl_context
Auto Trait Implementations§
impl Freeze for mbedtls_ssl_context
impl RefUnwindSafe for mbedtls_ssl_context
impl !Send for mbedtls_ssl_context
impl !Sync for mbedtls_ssl_context
impl Unpin for mbedtls_ssl_context
impl UnwindSafe for mbedtls_ssl_context
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)