Botan
1.11.15
|
#include <x509_ext.h>
Public Member Functions | |
void | decode_from (class BER_Decoder &) |
void | encode_into (class DER_Encoder &) const |
const AlternativeName & | point () const |
Definition at line 350 of file x509_ext.h.
void Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::decode_from | ( | class BER_Decoder & | 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 656 of file x509_ext.cpp.
References Botan::CONSTRUCTED, Botan::CONTEXT_SPECIFIC, Botan::BER_Decoder::decode_optional_implicit(), Botan::BER_Decoder::end_cons(), Botan::SEQUENCE, and Botan::BER_Decoder::start_cons().
{ ber.start_cons(SEQUENCE) .start_cons(ASN1_Tag(0), CONTEXT_SPECIFIC) .decode_optional_implicit(m_point, ASN1_Tag(0), ASN1_Tag(CONTEXT_SPECIFIC | CONSTRUCTED), SEQUENCE, CONSTRUCTED) .end_cons().end_cons(); }
void Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::encode_into | ( | class DER_Encoder & | to | ) | const [virtual] |
Encode whatever this object is into to
to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 651 of file x509_ext.cpp.
{ throw std::runtime_error("CRL_Distribution_Points encoding not implemented"); }
const AlternativeName& Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::point | ( | ) | const [inline] |
Definition at line 356 of file x509_ext.h.
{ return m_point; }