Botan
1.10.9
|
#include <x509_ext.h>
Public Member Functions | |
void | add (Certificate_Extension *extn, bool critical=false) |
void | contents_to (Data_Store &, Data_Store &) const |
void | decode_from (class BER_Decoder &) |
void | encode_into (class DER_Encoder &) const |
Extensions (const Extensions &) | |
Extensions (bool st=true) | |
Extensions & | operator= (const Extensions &) |
~Extensions () | |
X.509 Certificate Extension List
Definition at line 66 of file x509_ext.h.
Botan::Extensions::Extensions | ( | const Extensions & | extensions | ) |
Definition at line 45 of file x509_ext.cpp.
|
inline |
Definition at line 79 of file x509_ext.h.
Botan::Extensions::~Extensions | ( | ) |
Definition at line 160 of file x509_ext.cpp.
void Botan::Extensions::add | ( | Certificate_Extension * | extn, |
bool | critical = false |
||
) |
Definition at line 77 of file x509_ext.cpp.
Referenced by Botan::X509::create_cert_req(), Botan::X509::create_self_signed_cert(), Botan::CRL_Entry::encode_into(), and Botan::X509_CA::sign_request().
void Botan::Extensions::contents_to | ( | Data_Store & | subject_info, |
Data_Store & | issuer_info | ||
) | const |
Definition at line 150 of file x509_ext.cpp.
Referenced by Botan::CRL_Entry::decode_from().
|
virtual |
Decode whatever this object is from from
from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 108 of file x509_ext.cpp.
References Botan::OID::as_string(), Botan::BOOLEAN, Botan::BER_Decoder::decode(), Botan::Certificate_Extension::decode_inner(), Botan::BER_Decoder::decode_optional(), Botan::BER_Decoder::end_cons(), Botan::BER_Decoder::more_items(), Botan::OCTET_STRING, oid, Botan::SEQUENCE, Botan::BER_Decoder::start_cons(), Botan::UNIVERSAL, and Botan::BER_Decoder::verify_end().
|
virtual |
Encode whatever this object is into to
to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 85 of file x509_ext.cpp.
References Botan::DER_Encoder::encode(), Botan::Certificate_Extension::encode_inner(), Botan::OCTET_STRING, Botan::Certificate_Extension::oid_of(), Botan::SEQUENCE, Botan::Certificate_Extension::should_encode(), and Botan::DER_Encoder::start_cons().
Extensions & Botan::Extensions::operator= | ( | const Extensions & | other | ) |
Definition at line 53 of file x509_ext.cpp.