Botan 3.4.0
Crypto and TLS for C&
Public Member Functions | Static Public Member Functions | List of all members
Botan::Cert_Extension::OCSP_NoCheck Class Referencefinal

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::OCSP_NoCheck:

Public Member Functions

std::unique_ptr< Certificate_Extensioncopy () const override
 OCSP_NoCheck ()=default
OID oid_of () const override
virtual void validate (const X509_Certificate &subject, const X509_Certificate &issuer, const std::vector< X509_Certificate > &cert_path, std::vector< std::set< Certificate_Status_Code > > &cert_status, size_t pos)

Static Public Member Functions

static OID static_oid ()

Detailed Description

OCSP NoCheck Extension

RFC6960 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 483 of file x509_ext.h.

Constructor & Destructor Documentation

◆ OCSP_NoCheck()

Botan::Cert_Extension::OCSP_NoCheck::OCSP_NoCheck ( )

Member Function Documentation

◆ copy()

std::unique_ptr< Certificate_Extension > Botan::Cert_Extension::OCSP_NoCheck::copy ( ) const

Make a copy of this extension

copy of this

Implements Botan::Certificate_Extension.

Definition at line 487 of file x509_ext.h.

487{ return std::make_unique<OCSP_NoCheck>(); }

◆ oid_of()

OID Botan::Cert_Extension::OCSP_NoCheck::oid_of ( ) const
OID representing this extension

Implements Botan::Certificate_Extension.

Definition at line 491 of file x509_ext.h.

491{ return static_oid(); }

References static_oid().

◆ static_oid()

static OID Botan::Cert_Extension::OCSP_NoCheck::static_oid ( )

Definition at line 489 of file x509_ext.h.

489{ return OID(""); }

Referenced by oid_of().

◆ validate()

void Botan::Certificate_Extension::validate ( const X509_Certificate & subject,
const X509_Certificate & issuer,
const std::vector< X509_Certificate > & cert_path,
std::vector< std::set< Certificate_Status_Code > > & cert_status,
size_t pos )

The documentation for this class was generated from the following files: