Botan
2.1.0
Crypto and TLS for C++11
|
#include <asn1_obj.h>
Public Member Functions | |
ASN1_Object ()=default | |
ASN1_Object (const ASN1_Object &)=default | |
virtual void | decode_from (BER_Decoder &from)=0 |
virtual void | encode_into (DER_Encoder &to) const =0 |
ASN1_Object & | operator= (const ASN1_Object &)=default |
virtual | ~ASN1_Object ()=default |
Basic ASN.1 Object Interface
Definition at line 61 of file asn1_obj.h.
|
default |
|
default |
|
virtualdefault |
|
pure virtual |
Decode whatever this object is from from
from | the BER_Decoder that will be read from |
Implemented in Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point, Botan::GeneralSubtree, Botan::Extensions, Botan::X509_Object, Botan::OCSP::SingleResponse, Botan::GeneralName, Botan::CRL_Entry, Botan::OCSP::CertID, Botan::AlgorithmIdentifier, Botan::AlternativeName, Botan::X509_Time, Botan::X509_DN, Botan::Attribute, Botan::OID, and Botan::ASN1_String.
Referenced by Botan::BER_Decoder::decode().
|
pure virtual |
Encode whatever this object is into to
to | the DER_Encoder that will be written to |
Implemented in Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point, Botan::GeneralSubtree, Botan::Extensions, Botan::X509_Object, Botan::OCSP::SingleResponse, Botan::GeneralName, Botan::CRL_Entry, Botan::OCSP::CertID, Botan::AlgorithmIdentifier, Botan::AlternativeName, Botan::X509_DN, Botan::Attribute, Botan::OID, Botan::X509_Time, and Botan::ASN1_String.
Referenced by Botan::DER_Encoder::encode().
|
default |