Botan
1.11.15
|
#include <x509_ext.h>
Public Member Functions | |
Key_Usage * | copy () const |
Key_Constraints | get_constraints () const |
Key_Usage (Key_Constraints c=NO_CONSTRAINTS) | |
OID | oid_of () const |
Friends | |
class | Extensions |
Key Usage Constraints Extension
Definition at line 114 of file x509_ext.h.
Botan::Cert_Extension::Key_Usage::Key_Usage | ( | Key_Constraints | c = NO_CONSTRAINTS | ) | [inline] |
Definition at line 119 of file x509_ext.h.
: constraints(c) {}
Key_Usage* Botan::Cert_Extension::Key_Usage::copy | ( | ) | const [inline, virtual] |
Make a copy of this extension
Implements Botan::Certificate_Extension.
Definition at line 117 of file x509_ext.h.
{ return new Key_Usage(constraints); }
Key_Constraints Botan::Cert_Extension::Key_Usage::get_constraints | ( | ) | const [inline] |
Definition at line 121 of file x509_ext.h.
{ return constraints; }
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.