boost::corosio::tls_context::add_crl_file

Add a Certificate Revocation List from a file.

Synopsis

std::error_code
add_crl_file(std::string_view filename);

Description

Adds a CRL to the verification store for checking whether certificates have been revoked.

Example

ctx.add_crl_file( "issuer.crl" );

Return Value

Success, or an error if the file could not be read or the CRL is invalid.

Parameters

Name Description

filename

Path to a CRL file (DER or PEM format).

See Also

add_crl

set_revocation_policy

Created with MrDocs