#[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: [u8; 16],
pub private_not_after: [u8; 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: [u8; 16]
§private_not_after: [u8; 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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)