Botan  2.4.0
Crypto and TLS for C++11
Public Member Functions | Static Public Member Functions | List of all members
Botan::Cert_Extension::CRL_Issuing_Distribution_Point Class Referencefinal

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::CRL_Issuing_Distribution_Point:
Botan::Certificate_Extension

Public Member Functions

CRL_Issuing_Distribution_Pointcopy () const override
 
 CRL_Issuing_Distribution_Point ()=default
 
 CRL_Issuing_Distribution_Point (const CRL_Distribution_Points::Distribution_Point &distribution_point)
 
const AlternativeNameget_point () 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

CRL Issuing Distribution Point Extension todo enforce restrictions from RFC 5280 5.2.5

Definition at line 691 of file x509_ext.h.

Constructor & Destructor Documentation

◆ CRL_Issuing_Distribution_Point() [1/2]

Botan::Cert_Extension::CRL_Issuing_Distribution_Point::CRL_Issuing_Distribution_Point ( )
default

◆ CRL_Issuing_Distribution_Point() [2/2]

Botan::Cert_Extension::CRL_Issuing_Distribution_Point::CRL_Issuing_Distribution_Point ( const CRL_Distribution_Points::Distribution_Point distribution_point)
inlineexplicit

Definition at line 696 of file x509_ext.h.

696  :
697  m_distribution_point(distribution_point) {}

Member Function Documentation

◆ copy()

CRL_Issuing_Distribution_Point* Botan::Cert_Extension::CRL_Issuing_Distribution_Point::copy ( ) const
inlineoverridevirtual

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 699 of file x509_ext.h.

700  { return new CRL_Issuing_Distribution_Point(m_distribution_point); }

◆ get_point()

const AlternativeName& Botan::Cert_Extension::CRL_Issuing_Distribution_Point::get_point ( ) const
inline

Definition at line 702 of file x509_ext.h.

703  { return m_distribution_point.point(); }

◆ oid_of()

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

Implements Botan::Certificate_Extension.

Definition at line 706 of file x509_ext.h.

◆ static_oid()

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

Definition at line 705 of file x509_ext.h.

705 { return OID("2.5.29.28"); }

◆ 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: