Botan 3.6.1
Crypto and TLS for C&
Botan::Cert_Extension::Authority_Information_Access Class Referencefinal

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::Authority_Information_Access:
Botan::Certificate_Extension

Public Member Functions

 Authority_Information_Access ()=default
 
 Authority_Information_Access (std::string_view ocsp, const std::vector< std::string > &ca_issuers=std::vector< std::string >())
 
const std::vector< std::string > & ca_issuers () const
 
std::unique_ptr< Certificate_Extensioncopy () const override
 
std::string ocsp_responder () const
 
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

Authority Information Access Extension

Definition at line 304 of file x509_ext.h.

Constructor & Destructor Documentation

◆ Authority_Information_Access() [1/2]

Botan::Cert_Extension::Authority_Information_Access::Authority_Information_Access ( )
default

◆ Authority_Information_Access() [2/2]

Botan::Cert_Extension::Authority_Information_Access::Authority_Information_Access ( std::string_view ocsp,
const std::vector< std::string > & ca_issuers = std::vector<std::string>() )
inlineexplicit

Definition at line 312 of file x509_ext.h.

313 :
314 m_ocsp_responder(ocsp), m_ca_issuers(ca_issuers) {}
const std::vector< std::string > & ca_issuers() const
Definition x509_ext.h:322

Member Function Documentation

◆ ca_issuers()

const std::vector< std::string > & Botan::Cert_Extension::Authority_Information_Access::ca_issuers ( ) const
inline

Definition at line 322 of file x509_ext.h.

322{ return m_ca_issuers; }

◆ copy()

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

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 306 of file x509_ext.h.

306 {
307 return std::make_unique<Authority_Information_Access>(m_ocsp_responder, m_ca_issuers);
308 }

◆ ocsp_responder()

std::string Botan::Cert_Extension::Authority_Information_Access::ocsp_responder ( ) const
inline

Definition at line 316 of file x509_ext.h.

316{ return m_ocsp_responder; }

◆ oid_of()

OID Botan::Cert_Extension::Authority_Information_Access::oid_of ( ) const
inlineoverridevirtual
Returns
OID representing this extension

Implements Botan::Certificate_Extension.

Definition at line 320 of file x509_ext.h.

◆ static_oid()

static OID Botan::Cert_Extension::Authority_Information_Access::static_oid ( )
inlinestatic

Definition at line 318 of file x509_ext.h.

318{ return OID("1.3.6.1.5.5.7.1.1"); }

◆ 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 )
virtualinherited

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