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

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::Issuer_Alternative_Name:
Botan::Certificate_Extension

Public Member Functions

Issuer_Alternative_Namecopy () const override
 
const AlternativeNameget_alt_name () const
 
 Issuer_Alternative_Name (const AlternativeName &name=AlternativeName())
 
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

Issuer Alternative Name Extension

Definition at line 435 of file x509_ext.h.

Constructor & Destructor Documentation

◆ Issuer_Alternative_Name()

Botan::Cert_Extension::Issuer_Alternative_Name::Issuer_Alternative_Name ( const AlternativeName name = AlternativeName())
inlineexplicit

Definition at line 446 of file x509_ext.h.

446  :
447  m_alt_name(name) {}

Member Function Documentation

◆ copy()

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

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 443 of file x509_ext.h.

444  { return new Issuer_Alternative_Name(get_alt_name()); }
Issuer_Alternative_Name(const AlternativeName &name=AlternativeName())
Definition: x509_ext.h:446
const AlternativeName & get_alt_name() const
Definition: x509_ext.h:438

◆ get_alt_name()

const AlternativeName& Botan::Cert_Extension::Issuer_Alternative_Name::get_alt_name ( ) const
inline

Definition at line 438 of file x509_ext.h.

438 { return m_alt_name; }

◆ oid_of()

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

Implements Botan::Certificate_Extension.

Definition at line 441 of file x509_ext.h.

441 { return static_oid(); }

◆ static_oid()

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

Definition at line 440 of file x509_ext.h.

440 { return OID("2.5.29.18"); }

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