Struct bearssl::br_x509_decoder_context
[−]
[src]
#[repr(C)]pub struct br_x509_decoder_context { pub pkey: br_x509_pkey, pub cpu: br_x509_decoder_context__bindgen_ty_1, pub dp_stack: [u32; 32], pub rp_stack: [u32; 32], pub err: c_int, pub pad: [c_uchar; 256], pub decoded: c_uchar, pub notbefore_days: u32, pub notbefore_seconds: u32, pub notafter_days: u32, pub notafter_seconds: u32, pub isCA: c_uchar, pub copy_dn: c_uchar, pub append_dn_ctx: *mut c_void, pub append_dn: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_void, _: usize)>, pub hbuf: *const c_uchar, pub hlen: usize, pub pkey_data: [c_uchar; 520], pub signer_key_type: c_uchar, pub signer_hash_id: c_uchar, }
\brief X.509 decoder context.
This structure is not for X.509 validation, but for extracting names and public keys from encoded certificates. Intended usage is to use (self-signed) certificates as trust anchors.
Contents are opaque and shall not be accessed directly.
Fields
pkey: br_x509_pkey
cpu: br_x509_decoder_context__bindgen_ty_1
dp_stack: [u32; 32]
rp_stack: [u32; 32]
err: c_int
pad: [c_uchar; 256]
decoded: c_uchar
notbefore_days: u32
notbefore_seconds: u32
notafter_days: u32
notafter_seconds: u32
isCA: c_uchar
copy_dn: c_uchar
append_dn_ctx: *mut c_void
append_dn: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_void, _: usize)>
hbuf: *const c_uchar
hlen: usize
pkey_data: [c_uchar; 520]
signer_key_type: c_uchar
signer_hash_id: c_uchar
Trait Implementations
impl Copy for br_x509_decoder_context
[src]
impl Clone for br_x509_decoder_context
[src]
fn clone(&self) -> br_x509_decoder_context
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more