boost::corosio::tls_context::add_crl

Add a Certificate Revocation List from memory.

Synopsis

std::error_code
add_crl(std::string_view crl);

Description

Adds a CRL to the verification store for checking whether certificates have been revoked. CRLs are typically fetched from the URLs in a certificate's CRL Distribution Points extension.

Return Value

Success, or an error if the CRL could not be parsed.

Parameters

Name Description

crl

The CRL data in DER or PEM format.

See Also

add_crl_file

set_revocation_policy

Created with MrDocs