Botan  1.11.26
Public Member Functions | List of all members
Botan::Cert_Extension::Authority_Key_ID Class Referencefinal

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::Authority_Key_ID:
Botan::Certificate_Extension

Public Member Functions

 Authority_Key_ID ()
 
 Authority_Key_ID (const std::vector< byte > &k)
 
Authority_Key_IDcopy () const override
 
std::vector< byteget_key_id () const
 
OID oid_of () const
 

Detailed Description

Authority Key Identifier Extension

Definition at line 167 of file x509_ext.h.

Constructor & Destructor Documentation

Botan::Cert_Extension::Authority_Key_ID::Authority_Key_ID ( )
inline

Definition at line 173 of file x509_ext.h.

173 {}
Botan::Cert_Extension::Authority_Key_ID::Authority_Key_ID ( const std::vector< byte > &  k)
inlineexplicit

Definition at line 174 of file x509_ext.h.

174 : m_key_id(k) {}

Member Function Documentation

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

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 170 of file x509_ext.h.

171  { return new Authority_Key_ID(m_key_id); }
std::vector<byte> Botan::Cert_Extension::Authority_Key_ID::get_key_id ( ) const
inline

Definition at line 176 of file x509_ext.h.

176 { return m_key_id; }
OID Botan::Certificate_Extension::oid_of ( ) const
inherited
Returns
OID representing this extension

Definition at line 74 of file x509_ext.cpp.

References Botan::OIDS::lookup().

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

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

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