Struct bearssl::br_ssl_server_policy_rsa_context
[−]
[src]
#[repr(C)]pub struct br_ssl_server_policy_rsa_context { pub vtable: *const br_ssl_server_policy_class, pub chain: *const br_x509_certificate, pub chain_len: usize, pub sk: *const br_rsa_private_key, pub allowed_usages: c_uint, pub irsacore: br_rsa_private, pub irsasign: br_rsa_pkcs1_sign, }
\brief A single-chain RSA policy handler.
This policy context uses a single certificate chain, and a RSA private key. The context can be restricted to only signatures or only key exchange.
Apart from the first field (vtable pointer), its contents are opaque and shall not be accessed directly.
Fields
vtable: *const br_ssl_server_policy_class
\brief Pointer to vtable.
chain: *const br_x509_certificate
chain_len: usize
sk: *const br_rsa_private_key
allowed_usages: c_uint
irsacore: br_rsa_private
irsasign: br_rsa_pkcs1_sign
Trait Implementations
impl Debug for br_ssl_server_policy_rsa_context
[src]
impl Copy for br_ssl_server_policy_rsa_context
[src]
impl Clone for br_ssl_server_policy_rsa_context
[src]
fn clone(&self) -> br_ssl_server_policy_rsa_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