Struct esp_idf_svc::sys::mbedtls_x509write_cert
source · #[repr(C)]pub struct mbedtls_x509write_cert {
pub private_version: i32,
pub private_serial: [u8; 20],
pub private_serial_len: usize,
pub private_subject_key: *mut mbedtls_pk_context,
pub private_issuer_key: *mut mbedtls_pk_context,
pub private_subject: *mut mbedtls_asn1_named_data,
pub private_issuer: *mut mbedtls_asn1_named_data,
pub private_md_alg: u32,
pub private_not_before: [i8; 16],
pub private_not_after: [i8; 16],
pub private_extensions: *mut mbedtls_asn1_named_data,
}
Expand description
Container for writing a certificate (CRT)
Fields§
§private_version: i32
§private_serial: [u8; 20]
§private_serial_len: usize
§private_subject_key: *mut mbedtls_pk_context
§private_issuer_key: *mut mbedtls_pk_context
§private_subject: *mut mbedtls_asn1_named_data
§private_issuer: *mut mbedtls_asn1_named_data
§private_md_alg: u32
§private_not_before: [i8; 16]
§private_not_after: [i8; 16]
§private_extensions: *mut mbedtls_asn1_named_data
Trait Implementations§
source§impl Clone for mbedtls_x509write_cert
impl Clone for mbedtls_x509write_cert
source§fn clone(&self) -> mbedtls_x509write_cert
fn clone(&self) -> mbedtls_x509write_cert
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 Debug for mbedtls_x509write_cert
impl Debug for mbedtls_x509write_cert
source§impl Default for mbedtls_x509write_cert
impl Default for mbedtls_x509write_cert
source§fn default() -> mbedtls_x509write_cert
fn default() -> mbedtls_x509write_cert
Returns the “default value” for a type. Read more
impl Copy for mbedtls_x509write_cert
Auto Trait Implementations§
impl Freeze for mbedtls_x509write_cert
impl RefUnwindSafe for mbedtls_x509write_cert
impl !Send for mbedtls_x509write_cert
impl !Sync for mbedtls_x509write_cert
impl Unpin for mbedtls_x509write_cert
impl UnwindSafe for mbedtls_x509write_cert
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: 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
)§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
)