Botan  1.11.10
Public Member Functions | List of all members
Botan::Cert_Extension::Authority_Key_ID Class Reference

#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
 
std::vector< byteget_key_id () const
 
OID oid_of () const
 

Detailed Description

Authority Key Identifier Extension

Definition at line 159 of file x509_ext.h.

Constructor & Destructor Documentation

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

Definition at line 164 of file x509_ext.h.

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

Definition at line 165 of file x509_ext.h.

165 : key_id(k) {}

Member Function Documentation

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

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 162 of file x509_ext.h.

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

Definition at line 167 of file x509_ext.h.

167 { return 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(), and Botan::Certificate_Extension::oid_name().

Referenced by 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:111

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