Function bearssl::br_ssl_client_init_full [] [src]

pub unsafe extern "C" fn br_ssl_client_init_full(
    cc: *mut br_ssl_client_context,
    xc: *mut br_x509_minimal_context,
    trust_anchors: *const br_x509_trust_anchor,
    trust_anchors_num: usize
)

\brief SSL client profile: full.

This function initialises the provided SSL client context with all supported algorithms and cipher suites. It also initialises a companion X.509 validation engine with all supported algorithms, and the provided trust anchors; the X.509 engine will be used by the client context to validate the server's certificate.

\param cc client context to initialise. \param xc X.509 validation context to initialise. \param trust_anchors trust anchors to use. \param trust_anchors_num number of trust anchors.