#[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_intraw: x509_buftbs: x509_bufversion: c_intserial: x509_bufsig_oid: x509_bufissuer_raw: x509_bufsubject_raw: x509_bufissuer: x509_namesubject: x509_namevalid_from: x509_timevalid_to: x509_timepk_raw: x509_bufpk: pk_contextissuer_id: x509_bufsubject_id: x509_bufv3_ext: x509_bufsubject_alt_names: x509_sequencecertificate_policies: x509_sequenceext_types: c_intca_istrue: c_intmax_pathlen: c_intkey_usage: c_uintext_key_usage: x509_sequencens_cert_type: c_ucharsig: x509_bufsig_md: md_type_tsig_pk: pk_type_tsig_opts: *mut c_voidnext: *mut x509_crt

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.