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

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::CRL_Distribution_Points:
Botan::Certificate_Extension

Classes

class  Distribution_Point
 

Public Member Functions

CRL_Distribution_Pointscopy () const override
 
 CRL_Distribution_Points ()=default
 
 CRL_Distribution_Points (const std::vector< Distribution_Point > &points)
 
const std::vector< std::string > & crl_distribution_urls () const
 
const std::vector< Distribution_Point > & distribution_points () 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 Distribution Points Extension todo enforce restrictions from RFC 5280 4.2.1.13

Definition at line 641 of file x509_ext.h.

Constructor & Destructor Documentation

◆ CRL_Distribution_Points() [1/2]

Botan::Cert_Extension::CRL_Distribution_Points::CRL_Distribution_Points ( )
default

◆ CRL_Distribution_Points() [2/2]

Botan::Cert_Extension::CRL_Distribution_Points::CRL_Distribution_Points ( const std::vector< Distribution_Point > &  points)
inlineexplicit

Definition at line 660 of file x509_ext.h.

660  :
661  m_distribution_points(points) {}

Member Function Documentation

◆ copy()

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

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 655 of file x509_ext.h.

656  { return new CRL_Distribution_Points(m_distribution_points); }

◆ crl_distribution_urls()

const std::vector<std::string>& Botan::Cert_Extension::CRL_Distribution_Points::crl_distribution_urls ( ) const
inline

Definition at line 666 of file x509_ext.h.

667  { return m_crl_distribution_urls; }

◆ distribution_points()

const std::vector<Distribution_Point>& Botan::Cert_Extension::CRL_Distribution_Points::distribution_points ( ) const
inline

Definition at line 663 of file x509_ext.h.

664  { return m_distribution_points; }

◆ oid_of()

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

Implements Botan::Certificate_Extension.

Definition at line 670 of file x509_ext.h.

670 { return static_oid(); }

◆ static_oid()

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

Definition at line 669 of file x509_ext.h.

669 { return OID("2.5.29.31"); }

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