Struct libcoap_sys::coap_dtls_pki_t
source · #[repr(C)]pub struct coap_dtls_pki_t {Show 21 fields
pub version: u8,
pub verify_peer_cert: u8,
pub check_common_ca: u8,
pub allow_self_signed: u8,
pub allow_expired_certs: u8,
pub cert_chain_validation: u8,
pub cert_chain_verify_depth: u8,
pub check_cert_revocation: u8,
pub allow_no_crl: u8,
pub allow_expired_crl: u8,
pub allow_bad_md_hash: u8,
pub allow_short_rsa_length: u8,
pub is_rpk_not_cert: u8,
pub reserved: [u8; 3],
pub validate_cn_call_back: coap_dtls_cn_callback_t,
pub cn_call_back_arg: *mut c_void,
pub validate_sni_call_back: coap_dtls_pki_sni_callback_t,
pub sni_call_back_arg: *mut c_void,
pub additional_tls_setup_call_back: coap_dtls_security_setup_t,
pub client_sni: *mut c_char,
pub pki_key: coap_dtls_key_t,
}
Fields§
§version: u8
§verify_peer_cert: u8
§check_common_ca: u8
§allow_self_signed: u8
§allow_expired_certs: u8
§cert_chain_validation: u8
§cert_chain_verify_depth: u8
§check_cert_revocation: u8
§allow_no_crl: u8
§allow_expired_crl: u8
§allow_bad_md_hash: u8
§allow_short_rsa_length: u8
§is_rpk_not_cert: u8
§reserved: [u8; 3]
§validate_cn_call_back: coap_dtls_cn_callback_t
§cn_call_back_arg: *mut c_void
§validate_sni_call_back: coap_dtls_pki_sni_callback_t
§sni_call_back_arg: *mut c_void
§additional_tls_setup_call_back: coap_dtls_security_setup_t
§client_sni: *mut c_char
§pki_key: coap_dtls_key_t
Trait Implementations§
source§impl Clone for coap_dtls_pki_t
impl Clone for coap_dtls_pki_t
source§fn clone(&self) -> coap_dtls_pki_t
fn clone(&self) -> coap_dtls_pki_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for coap_dtls_pki_t
Auto Trait Implementations§
impl RefUnwindSafe for coap_dtls_pki_t
impl !Send for coap_dtls_pki_t
impl !Sync for coap_dtls_pki_t
impl Unpin for coap_dtls_pki_t
impl UnwindSafe for coap_dtls_pki_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more