Botan
1.10.9
|
#include <crl_ent.h>
Public Member Functions | |
CRL_Entry (bool throw_on_unknown_critical_extension=false) | |
CRL_Entry (const X509_Certificate &cert, CRL_Code reason=UNSPECIFIED) | |
void | decode_from (class BER_Decoder &) |
void | encode_into (class DER_Encoder &) const |
X509_Time | expire_time () const |
CRL_Code | reason_code () const |
MemoryVector< byte > | serial_number () const |
Botan::CRL_Entry::CRL_Entry | ( | bool | throw_on_unknown_critical_extension = false | ) |
Construct an empty CRL entry.
Definition at line 21 of file crl_ent.cpp.
References Botan::UNSPECIFIED.
Botan::CRL_Entry::CRL_Entry | ( | const X509_Certificate & | cert, |
CRL_Code | reason = UNSPECIFIED |
||
) |
Construct an CRL entry.
cert | the certificate to revoke |
reason | the reason code to set in the entry |
Definition at line 30 of file crl_ent.cpp.
References Botan::X509_Certificate::serial_number(), and Botan::system_time().
|
virtual |
Decode whatever this object is from from
from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 81 of file crl_ent.cpp.
References Botan::Extensions::contents_to(), Botan::BER_Decoder::decode(), Botan::BigInt::encode(), Botan::BER_Decoder::end_cons(), Botan::Data_Store::get1_u32bit(), Botan::BER_Decoder::more_items(), Botan::SEQUENCE, Botan::BER_Decoder::start_cons(), and Botan::UNSPECIFIED.
|
virtual |
Encode whatever this object is into to
to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 63 of file crl_ent.cpp.
References Botan::Extensions::add(), Botan::BigInt::decode(), Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), Botan::SEQUENCE, and Botan::DER_Encoder::start_cons().
|
inline |
Get the revocation date of the certificate associated with this entry
Definition at line 34 of file crl_ent.h.
Referenced by Botan::operator==().
|
inline |
Get the entries reason code
Definition at line 40 of file crl_ent.h.
Referenced by Botan::operator==().
|
inline |
Get the serial number of the certificate associated with this entry.
Definition at line 28 of file crl_ent.h.
Referenced by Botan::operator==().