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

Trait Implementations

impl Copy for br_x509_decoder_context
[src]

impl Clone for br_x509_decoder_context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more