Botan  2.7.0
Crypto and TLS for C++11
Public Member Functions | Static Public Member Functions | List of all members
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 (const std::string &ocsp, const std::vector< std::string > &ca_issuers=std::vector< std::string >())
 
const std::vector< std::string > ca_issuers () const
 
Authority_Information_Accesscopy () 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< std::shared_ptr< const 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 561 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 ( const std::string &  ocsp,
const std::vector< std::string > &  ca_issuers = std::vector<std::string>() 
)
inlineexplicit

Definition at line 569 of file x509_ext.h.

569  :
570  m_ocsp_responder(ocsp), m_ca_issuers(ca_issuers) {}
const std::vector< std::string > ca_issuers() const
Definition: x509_ext.h:576

Member Function Documentation

◆ ca_issuers()

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

Definition at line 576 of file x509_ext.h.

576 { return m_ca_issuers; }

◆ copy()

Authority_Information_Access* 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 564 of file x509_ext.h.

565  { return new Authority_Information_Access(m_ocsp_responder, m_ca_issuers); }

◆ ocsp_responder()

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

Definition at line 572 of file x509_ext.h.

572 { 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 575 of file x509_ext.h.

◆ static_oid()

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

Definition at line 574 of file x509_ext.h.

574 { 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< std::shared_ptr< const 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: