boost::corosio::tls_context

Synopsis

class tls_context;

Member Functions

Name

Description

tls_context [constructor]

Constructors

~tls_context [destructor]

Destructor.

operator=

Assignment operators

add_certificate_authority

Add a certificate authority for peer verification.

add_crl

Add a Certificate Revocation List from memory.

add_crl_file

Add a Certificate Revocation List from a file.

add_verify_path

Add a directory of CA certificates for verification.

load_verify_file

Load CA certificates from a file.

set_alpn

Set the ALPN protocol list.

set_ciphersuites

Set the allowed cipher suites.

set_default_verify_paths

Use the system default CA certificate store.

set_hostname

Set the expected server hostname for verification.

set_max_protocol_version

Set the maximum TLS protocol version.

set_min_protocol_version

Set the minimum TLS protocol version.

set_ocsp_staple

Set the OCSP staple response for server‐side stapling.

set_password_callback

Set the password callback for encrypted keys.

set_require_ocsp_staple

Require OCSP stapling from the server.

set_revocation_policy

Set the certificate revocation checking policy.

set_servername_callback

Set a callback for Server Name Indication (SNI).

set_verify_callback

Set a custom certificate verification callback.

set_verify_depth

Set the maximum certificate chain verification depth.

set_verify_mode

Set the peer certificate verification mode.

use_certificate

Load the entity certificate from a memory buffer.

use_certificate_chain

Load a certificate chain from a memory buffer.

use_certificate_chain_file

Load a certificate chain from a file.

use_certificate_file

Load the entity certificate from a file.

use_pkcs12

Load credentials from a PKCS#12 bundle in memory.

use_pkcs12_file

Load credentials from a PKCS#12 file.

use_private_key

Load the private key from a memory buffer.

use_private_key_file

Load the private key from a file.

Created with MrDocs