Struct mbedtls_sys::x509_crt
source · [−]#[repr(C)]pub struct x509_crt {Show 30 fields
pub own_buffer: c_int,
pub raw: x509_buf,
pub tbs: x509_buf,
pub version: c_int,
pub serial: x509_buf,
pub sig_oid: x509_buf,
pub issuer_raw: x509_buf,
pub subject_raw: x509_buf,
pub issuer: x509_name,
pub subject: x509_name,
pub valid_from: x509_time,
pub valid_to: x509_time,
pub pk_raw: x509_buf,
pub pk: pk_context,
pub issuer_id: x509_buf,
pub subject_id: x509_buf,
pub v3_ext: x509_buf,
pub subject_alt_names: x509_sequence,
pub certificate_policies: x509_sequence,
pub ext_types: c_int,
pub ca_istrue: c_int,
pub max_pathlen: c_int,
pub key_usage: c_uint,
pub ext_key_usage: x509_sequence,
pub ns_cert_type: c_uchar,
pub sig: x509_buf,
pub sig_md: md_type_t,
pub sig_pk: pk_type_t,
pub sig_opts: *mut c_void,
pub next: *mut x509_crt,
}
Fields
own_buffer: c_int
raw: x509_buf
tbs: x509_buf
version: c_int
serial: x509_buf
sig_oid: x509_buf
issuer_raw: x509_buf
subject_raw: x509_buf
issuer: x509_name
subject: x509_name
valid_from: x509_time
valid_to: x509_time
pk_raw: x509_buf
pk: pk_context
issuer_id: x509_buf
subject_id: x509_buf
v3_ext: x509_buf
subject_alt_names: x509_sequence
certificate_policies: x509_sequence
ext_types: c_int
ca_istrue: c_int
max_pathlen: c_int
key_usage: c_uint
ext_key_usage: x509_sequence
ns_cert_type: c_uchar
sig: x509_buf
sig_md: md_type_t
sig_pk: pk_type_t
sig_opts: *mut c_void
next: *mut x509_crt
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for x509_crt
impl !Send for x509_crt
impl !Sync for x509_crt
impl Unpin for x509_crt
impl UnwindSafe for x509_crt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more