Botan  1.11.15
Public Member Functions | Friends
Botan::Cert_Extension::Authority_Key_ID Class Reference

#include <x509_ext.h>

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

List of all members.

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

Friends

class Extensions

Detailed Description

Authority Key Identifier Extension

Definition at line 159 of file x509_ext.h.


Constructor & Destructor Documentation

Definition at line 164 of file x509_ext.h.

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

Definition at line 165 of file x509_ext.h.

: key_id(k) {}

Member Function Documentation

Make a copy of this extension

Returns:
copy of this

Implements Botan::Certificate_Extension.

Definition at line 162 of file x509_ext.h.

{ return new Authority_Key_ID(key_id); }

Definition at line 167 of file x509_ext.h.

{ return key_id; }
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().

   {
   return OIDS::lookup(oid_name());
   }

Friends And Related Function Documentation

friend class Extensions [friend, inherited]

Definition at line 51 of file x509_ext.h.


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