Botan
1.11.15
|
#include <x509_ext.h>
Public Member Functions | |
Subject_Key_ID * | copy () const |
std::vector< byte > | get_key_id () const |
OID | oid_of () const |
Subject_Key_ID () | |
Subject_Key_ID (const std::vector< byte > &) | |
Friends | |
class | Extensions |
Subject Key Identifier Extension
Definition at line 136 of file x509_ext.h.
Definition at line 141 of file x509_ext.h.
{}
Botan::Cert_Extension::Subject_Key_ID::Subject_Key_ID | ( | const std::vector< byte > & | pub_key | ) |
Definition at line 312 of file x509_ext.cpp.
References Botan::Buffered_Computation::process(), and Botan::unlock().
{ SHA_160 hash; key_id = unlock(hash.process(pub_key)); }
Subject_Key_ID* Botan::Cert_Extension::Subject_Key_ID::copy | ( | ) | const [inline, virtual] |
Make a copy of this extension
Implements Botan::Certificate_Extension.
Definition at line 139 of file x509_ext.h.
{ return new Subject_Key_ID(key_id); }
std::vector<byte> Botan::Cert_Extension::Subject_Key_ID::get_key_id | ( | ) | const [inline] |
Definition at line 144 of file x509_ext.h.
{ return key_id; }
OID Botan::Certificate_Extension::oid_of | ( | ) | const [inherited] |
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()); }
friend class Extensions [friend, inherited] |
Definition at line 51 of file x509_ext.h.