Botan 3.6.1
Crypto and TLS for C&
Botan::Certificate_Extension Class Referenceabstract

#include <pkix_types.h>

Inheritance diagram for Botan::Certificate_Extension:
Botan::Cert_Extension::Authority_Information_Access Botan::Cert_Extension::Authority_Key_ID Botan::Cert_Extension::Basic_Constraints Botan::Cert_Extension::CRL_Distribution_Points Botan::Cert_Extension::CRL_Issuing_Distribution_Point Botan::Cert_Extension::CRL_Number Botan::Cert_Extension::CRL_ReasonCode Botan::Cert_Extension::Certificate_Policies Botan::Cert_Extension::Extended_Key_Usage Botan::Cert_Extension::Issuer_Alternative_Name Botan::Cert_Extension::Key_Usage Botan::Cert_Extension::Name_Constraints Botan::Cert_Extension::OCSP_NoCheck Botan::Cert_Extension::Subject_Alternative_Name Botan::Cert_Extension::Subject_Key_ID Botan::Cert_Extension::TNAuthList Botan::Cert_Extension::Unknown_Extension

Public Member Functions

virtual std::unique_ptr< Certificate_Extensioncopy () const =0
 
virtual std::string oid_name () const =0
 
virtual OID oid_of () const =0
 
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)
 
virtual ~Certificate_Extension ()=default
 

Protected Member Functions

virtual void decode_inner (const std::vector< uint8_t > &)=0
 
virtual std::vector< uint8_t > encode_inner () const =0
 
virtual bool should_encode () const
 

Friends

class Extensions
 

Detailed Description

X.509 Certificate Extension

Definition at line 408 of file pkix_types.h.

Constructor & Destructor Documentation

◆ ~Certificate_Extension()

virtual Botan::Certificate_Extension::~Certificate_Extension ( )
virtualdefault

Member Function Documentation

◆ copy()

◆ decode_inner()

virtual void Botan::Certificate_Extension::decode_inner ( const std::vector< uint8_t > & )
protectedpure virtual

◆ encode_inner()

virtual std::vector< uint8_t > Botan::Certificate_Extension::encode_inner ( ) const
protectedpure virtual

◆ oid_name()

virtual std::string Botan::Certificate_Extension::oid_name ( ) const
pure virtual

◆ oid_of()

◆ should_encode()

virtual bool Botan::Certificate_Extension::should_encode ( ) const
inlineprotectedvirtual

Definition at line 456 of file pkix_types.h.

456{ return true; }

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

Friends And Related Symbol Documentation

◆ Extensions

friend class Extensions
friend

Definition at line 454 of file pkix_types.h.


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