boost::corosio::tls_context::set_revocation_policy
Set the certificate revocation checking policy.
Synopsis
Declared in <boost/corosio/tls_context.hpp>
void
set_revocation_policy(tls_revocation_policy policy);
Description
Controls how certificate revocation status is checked during verification. This affects both CRL and OCSP checking.
Example
// Require successful revocation check
ctx.set_revocation_policy( tls_revocation_policy::hard_fail );
// Check but allow unknown status
ctx.set_revocation_policy( tls_revocation_policy::soft_fail );