Botan  1.11.32
Public Member Functions | List of all members
Botan::Cert_Extension::Issuer_Alternative_Name Class Reference

#include <x509_ext.h>

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

Public Member Functions

Issuer_Alternative_Namecopy () const override
 
AlternativeName get_alt_name () const
 
 Issuer_Alternative_Name (const AlternativeName &=AlternativeName())
 
virtual OID oid_of () const
 
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)
 

Detailed Description

Issuer Alternative Name Extension

Definition at line 260 of file x509_ext.h.

Constructor & Destructor Documentation

§ Issuer_Alternative_Name()

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

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 263 of file x509_ext.h.

264  { return new Issuer_Alternative_Name(get_alt_name()); }
Issuer_Alternative_Name(const AlternativeName &=AlternativeName())
Definition: x509_ext.cpp:428
AlternativeName get_alt_name() const
Definition: x509_ext.h:226

§ get_alt_name()

AlternativeName Botan::Cert_Extension::Alternative_Name::get_alt_name ( ) const
inlineinherited

Definition at line 226 of file x509_ext.h.

226 { return m_alt_name; }

§ oid_of()

OID Botan::Certificate_Extension::oid_of ( ) const
virtualinherited
Returns
OID representing this extension

Reimplemented in Botan::Cert_Extension::Unknown_Critical_Extension.

Definition at line 77 of file x509_ext.cpp.

References Botan::OIDS::lookup().

Referenced by Botan::Extensions::add(), and Botan::Extensions::encode_into().

78  {
79  return OIDS::lookup(oid_name());
80  }
virtual std::string oid_name() const =0
std::string lookup(const OID &oid)
Definition: oids.cpp:155

§ 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

Reimplemented in Botan::Cert_Extension::Unknown_Critical_Extension, and Botan::Cert_Extension::Name_Constraints.

Definition at line 85 of file x509_ext.cpp.

89  {
90  }

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