Struct bearssl::br_ssl_server_policy_ec_context [] [src]

#[repr(C)]
pub struct br_ssl_server_policy_ec_context { pub vtable: *const br_ssl_server_policy_class, pub chain: *const br_x509_certificate, pub chain_len: usize, pub sk: *const br_ec_private_key, pub allowed_usages: c_uint, pub cert_issuer_key_type: c_uint, pub mhash: *const br_multihash_context, pub iec: *const br_ec_impl, pub iecdsa: br_ecdsa_sign, }

\brief A single-chain EC policy handler.

This policy context uses a single certificate chain, and an EC private key. The context can be restricted to only signatures or only key exchange.

Due to how TLS is defined, this context must be made aware whether the server certificate was itself signed with RSA or ECDSA. The code does not try to decode the certificate to obtain that information.

Apart from the first field (vtable pointer), its contents are opaque and shall not be accessed directly.

Fields

\brief Pointer to vtable.

Trait Implementations

impl Debug for br_ssl_server_policy_ec_context
[src]

[src]

Formats the value using the given formatter.

impl Copy for br_ssl_server_policy_ec_context
[src]

impl Clone for br_ssl_server_policy_ec_context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more