Botan  2.4.0
Crypto and TLS for C++11
Public Member Functions | Static Public Member Functions | List of all members
Botan::Cert_Extension::Subject_Key_ID Class Referencefinal

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::Subject_Key_ID:
Botan::Certificate_Extension

Public Member Functions

Subject_Key_IDcopy () const override
 
const std::vector< uint8_t > & get_key_id () const
 
OID oid_of () const override
 
 Subject_Key_ID ()=default
 
 Subject_Key_ID (const std::vector< uint8_t > &public_key, const std::string &hash_fn)
 
virtual void validate (const X509_Certificate &subject, const X509_Certificate &issuer, const std::vector< std::shared_ptr< const X509_Certificate >> &cert_path, std::vector< std::set< Certificate_Status_Code >> &cert_status, size_t pos)
 

Static Public Member Functions

static OID static_oid ()
 

Detailed Description

Subject Key Identifier Extension

Definition at line 334 of file x509_ext.h.

Constructor & Destructor Documentation

◆ Subject_Key_ID() [1/2]

Botan::Cert_Extension::Subject_Key_ID::Subject_Key_ID ( )
default

◆ Subject_Key_ID() [2/2]

Botan::Cert_Extension::Subject_Key_ID::Subject_Key_ID ( const std::vector< uint8_t > &  public_key,
const std::string &  hash_fn 
)

Member Function Documentation

◆ copy()

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

Make a copy of this extension

Returns
copy of this

Implements Botan::Certificate_Extension.

Definition at line 342 of file x509_ext.h.

343  { return new Subject_Key_ID(m_key_id); }

◆ get_key_id()

const std::vector<uint8_t>& Botan::Cert_Extension::Subject_Key_ID::get_key_id ( ) const
inline

Definition at line 345 of file x509_ext.h.

345 { return m_key_id; }

◆ oid_of()

OID Botan::Cert_Extension::Subject_Key_ID::oid_of ( ) const
inlineoverridevirtual
Returns
OID representing this extension

Implements Botan::Certificate_Extension.

Definition at line 348 of file x509_ext.h.

348 { return static_oid(); }

◆ static_oid()

static OID Botan::Cert_Extension::Subject_Key_ID::static_oid ( )
inlinestatic

Definition at line 347 of file x509_ext.h.

347 { return OID("2.5.29.14"); }

◆ validate()

void Botan::Certificate_Extension::validate ( const X509_Certificate subject,
const X509_Certificate issuer,
const std::vector< std::shared_ptr< const X509_Certificate >> &  cert_path,
std::vector< std::set< Certificate_Status_Code >> &  cert_status,
size_t  pos 
)
virtualinherited

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