Struct esp_idf_sys::mbedtls_x509write_cert
source · [−]#[repr(C)]pub struct mbedtls_x509write_cert {
pub version: c_int,
pub serial: mbedtls_mpi,
pub subject_key: *mut mbedtls_pk_context,
pub issuer_key: *mut mbedtls_pk_context,
pub subject: *mut mbedtls_asn1_named_data,
pub issuer: *mut mbedtls_asn1_named_data,
pub md_alg: mbedtls_md_type_t,
pub not_before: [c_char; 16],
pub not_after: [c_char; 16],
pub extensions: *mut mbedtls_asn1_named_data,
}
Expand description
Container for writing a certificate (CRT)
Fields
version: c_int
serial: mbedtls_mpi
subject_key: *mut mbedtls_pk_context
issuer_key: *mut mbedtls_pk_context
subject: *mut mbedtls_asn1_named_data
issuer: *mut mbedtls_asn1_named_data
md_alg: mbedtls_md_type_t
not_before: [c_char; 16]
not_after: [c_char; 16]
extensions: *mut mbedtls_asn1_named_data
Trait Implementations
sourceimpl Clone for mbedtls_x509write_cert
impl Clone for mbedtls_x509write_cert
sourcefn clone(&self) -> mbedtls_x509write_cert
fn clone(&self) -> mbedtls_x509write_cert
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mbedtls_x509write_cert
impl Debug for mbedtls_x509write_cert
sourceimpl Default for mbedtls_x509write_cert
impl Default for mbedtls_x509write_cert
impl Copy for mbedtls_x509write_cert
Auto Trait Implementations
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> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more