Botan  2.0.1
Crypto and TLS for C++11
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< std::shared_ptr< const 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 321 of file x509_ext.h.

Constructor & Destructor Documentation

◆ Issuer_Alternative_Name()

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

Member Function Documentation

◆ copy()

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

Make a copy of this extension

copy of this

Implements Botan::Certificate_Extension.

Definition at line 324 of file x509_ext.h.

325  { return new Issuer_Alternative_Name(get_alt_name()); }
Issuer_Alternative_Name(const AlternativeName &=AlternativeName())
Definition: x509_ext.cpp:492
AlternativeName get_alt_name() const
Definition: x509_ext.h:287

◆ get_alt_name()

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

Definition at line 287 of file x509_ext.h.

287 { return m_alt_name; }

◆ oid_of()

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

Reimplemented in Botan::Cert_Extension::Unknown_Critical_Extension.

Definition at line 76 of file x509_ext.cpp.

References Botan::OIDS::lookup().

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

77  {
78  return OIDS::lookup(oid_name());
79  }
virtual std::string oid_name() const =0
std::string lookup(const OID &oid)
Definition: oids.cpp: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 

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

Definition at line 84 of file x509_ext.cpp.

88  {
89  }

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