Botan
1.11.15
|
#include <x509_ext.h>
Public Member Functions | |
CRL_ReasonCode * | copy () const |
CRL_ReasonCode (CRL_Code r=UNSPECIFIED) | |
CRL_Code | get_reason () const |
OID | oid_of () const |
Friends | |
class | Extensions |
CRL Entry Reason Code Extension
Definition at line 325 of file x509_ext.h.
Botan::Cert_Extension::CRL_ReasonCode::CRL_ReasonCode | ( | CRL_Code | r = UNSPECIFIED | ) | [inline] |
Definition at line 330 of file x509_ext.h.
: reason(r) {}
CRL_ReasonCode* Botan::Cert_Extension::CRL_ReasonCode::copy | ( | ) | const [inline, virtual] |
Make a copy of this extension
Implements Botan::Certificate_Extension.
Definition at line 328 of file x509_ext.h.
{ return new CRL_ReasonCode(reason); }
CRL_Code Botan::Cert_Extension::CRL_ReasonCode::get_reason | ( | ) | const [inline] |
Definition at line 332 of file x509_ext.h.
{ return reason; }
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.