Botan 3.6.1
Crypto and TLS for C&
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

std::unique_ptr< Certificate_Extensioncopy () 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< 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 397 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 418 of file x509_ext.h.

418: m_distribution_points(points) {}

Member Function Documentation

◆ copy()

std::unique_ptr< Certificate_Extension > 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 412 of file x509_ext.h.

412 {
413 return std::make_unique<CRL_Distribution_Points>(m_distribution_points);
414 }

◆ crl_distribution_urls()

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

Definition at line 422 of file x509_ext.h.

422{ 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 420 of file x509_ext.h.

420{ 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 426 of file x509_ext.h.

◆ static_oid()

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

Definition at line 424 of file x509_ext.h.

424{ return OID("2.5.29.31"); }

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