Struct bearssl::br_ssl_server_context_
[−]
[src]
#[repr(C)]pub struct br_ssl_server_context_ { pub eng: br_ssl_engine_context, pub client_max_version: u16, pub cache_vtable: *mut *const br_ssl_session_cache_class, pub client_suites: [br_suite_translated; 40], pub client_suites_num: c_uchar, pub hashes: u32, pub curves: u32, pub policy_vtable: *mut *const br_ssl_server_policy_class, pub sign_hash_id: u16, pub chain_handler: br_ssl_server_context___bindgen_ty_1, pub ecdhe_key: [c_uchar; 70], pub ecdhe_key_len: usize, pub ta_names: *const br_x500_name, pub tas: *const br_x509_trust_anchor, pub num_tas: usize, pub cur_dn_index: usize, pub cur_dn: *const c_uchar, pub cur_dn_len: usize, pub hash_CV: [c_uchar; 64], pub hash_CV_len: usize, pub hash_CV_id: c_int, }
\brief Context structure for a SSL server.
The first field (called eng
) is the SSL engine; all functions that
work on a br_ssl_engine_context
structure shall take as parameter
a pointer to that field. The other structure fields are opaque and
must not be accessed directly.
Fields
eng: br_ssl_engine_context
\brief The encapsulated engine context.
client_max_version: u16
cache_vtable: *mut *const br_ssl_session_cache_class
client_suites: [br_suite_translated; 40]
client_suites_num: c_uchar
hashes: u32
curves: u32
policy_vtable: *mut *const br_ssl_server_policy_class
sign_hash_id: u16
chain_handler: br_ssl_server_context___bindgen_ty_1
ecdhe_key: [c_uchar; 70]
ecdhe_key_len: usize
ta_names: *const br_x500_name
tas: *const br_x509_trust_anchor
num_tas: usize
cur_dn_index: usize
cur_dn: *const c_uchar
cur_dn_len: usize
hash_CV: [c_uchar; 64]
hash_CV_len: usize
hash_CV_id: c_int
Trait Implementations
impl Copy for br_ssl_server_context_
[src]
impl Clone for br_ssl_server_context_
[src]
fn clone(&self) -> br_ssl_server_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