Botan 1.10.17
Botan::Cert_Extension::Alternative_Name Class Referenceabstract

#include <x509_ext.h>

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

Public Member Functions

virtual Certificate_Extensioncopy () const =0
AlternativeName get_alt_name () const
OID oid_of () const

Protected Member Functions

 Alternative_Name (const AlternativeName &, const std::string &, const std::string &)
 Alternative_Name (const std::string &, const std::string &)

Detailed Description

Alternative Name Extension Base Class

Definition at line 192 of file x509_ext.h.

Constructor & Destructor Documentation

◆ Alternative_Name() [1/2]

Botan::Cert_Extension::Alternative_Name::Alternative_Name ( const AlternativeName & alt_name,
const std::string & oid_name_str,
const std::string & config_name_str )
protected

Definition at line 377 of file x509_ext.cpp.

380 {
381 this->alt_name = alt_name;
382 this->oid_name_str = oid_name_str;
383 this->config_name_str = config_name_str;
384 }

Referenced by Botan::Cert_Extension::Issuer_Alternative_Name::Issuer_Alternative_Name(), and Botan::Cert_Extension::Subject_Alternative_Name::Subject_Alternative_Name().

◆ Alternative_Name() [2/2]

Botan::Cert_Extension::Alternative_Name::Alternative_Name ( const std::string & ,
const std::string &  )
protected

Member Function Documentation

◆ copy()

◆ get_alt_name()

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

◆ oid_of()

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

Definition at line 72 of file x509_ext.cpp.

73 {
74 return OIDS::lookup(oid_name());
75 }
virtual std::string oid_name() const =0
std::string lookup(const OID &oid)
Definition oids.cpp:31

References Botan::OIDS::lookup(), and oid_name().

Referenced by Botan::Extensions::encode_into().


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