|
Botan 3.13.0
Crypto and TLS for C&
|
#include <x509_ext.h>
Public Member Functions | |
| std::unique_ptr< Certificate_Extension > | copy () const override |
| OCSP_NoCheck ()=default | |
| OID | oid_of () const override |
| void | validate (const X509_Certificate &subject, const std::optional< X509_Certificate > &issuer, const std::vector< X509_Certificate > &cert_path, std::vector< std::set< Certificate_Status_Code > > &cert_status, size_t pos) const override |
Static Public Member Functions | |
| static OID | static_oid () |
OCSP NoCheck Extension
RFC6960 4.2.2.2.1 A CA may specify that an OCSP client can trust a responder for the lifetime of the responder's certificate. The CA does so by including the extension id-pkix-ocsp-nocheck.
In other words: OCSP responder certificates with this extension do not need to be validated against some revocation info.
Definition at line 785 of file x509_ext.h.
|
default |
|
inlineoverridevirtual |
Make a copy of this extension
Implements Botan::Certificate_Extension.
Definition at line 789 of file x509_ext.h.
|
inlineoverridevirtual |
Return object identifier for this extension
Implements Botan::Certificate_Extension.
Definition at line 793 of file x509_ext.h.
References static_oid().
|
inlinestatic |
Definition at line 791 of file x509_ext.h.
Referenced by oid_of().
|
overridevirtual |
Callback visited during path validation.
An extension can implement this callback to inspect the path during path validation.
If an error occurs during validation of this extension, an appropriate status code shall be added to cert_status.
| subject | Subject certificate that contains this extension |
| issuer | Issuer certificate. nullopt for certificates with no available issuer (e.g. non self-signed trust anchors). |
| cert_path | Certificate path which is currently validated |
| cert_status | Certificate validation status codes for subject certificate |
| pos | Position of subject certificate in cert_path |
Reimplemented from Botan::Certificate_Extension.
Definition at line 2514 of file x509_ext.cpp.
References Botan::X509_Certificate::allowed_usage(), Botan::INVALID_OCSP_NOCHECK, and Botan::OCSP_RESPONDER.