Struct anj_net_certificate_info_t

Struct Documentation

struct anj_net_certificate_info_t

Configuration of certificate-based security credentials.

Public Members

anj_crypto_security_info_t client_cert

Client certificate presented during handshake.

anj_crypto_security_info_t private_key

Private key corresponding to client_cert.

anj_crypto_security_info_t server_cert

Trusted server certificate or trust anchor used for verification.

anj_net_certificate_usage_t certificate_usage

Rules that define how certificate material shall be used.

const char *sni

Optional Server Name Indication value.

If NULL, the hostname may be used instead.

anj_net_trust_store_t trust_store

Trust store containing a set of trusted CA certificates used to verify the peer certificate.