Botan 2.19.1
Crypto and TLS for C&
Public Member Functions | List of all members
Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point Class Referencefinal

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point:

Public Member Functions

std::vector< uint8_t > BER_encode () const
void decode_from (class BER_Decoder &) override
void encode_into (class DER_Encoder &) const override
const AlternativeNamepoint () const

Detailed Description

Definition at line 394 of file x509_ext.h.

Member Function Documentation

◆ BER_encode()

std::vector< uint8_t > Botan::ASN1_Object::BER_encode ( ) const

Return the encoding of this object. This is a convenience method when just one object needs to be serialized. Use DER_Encoder for complicated encodings.

Definition at line 16 of file asn1_obj.cpp.

17 {
18 std::vector<uint8_t> output;
19 DER_Encoder der(output);
20 this->encode_into(der);
21 return output;
22 }
virtual void encode_into(DER_Encoder &to) const =0

References Botan::ASN1_Object::encode_into().

Referenced by Botan::PSSR::config_for_x509(), Botan::Certificate_Store_In_SQL::find_all_certs(), Botan::Certificate_Store_In_SQL::find_cert(), Botan::X509_Certificate::fingerprint(), Botan::Certificate_Store_In_SQL::insert_cert(), Botan::X509_Object::PEM_encode(), and Botan::Certificate_Store_In_SQL::revoke_cert().

◆ decode_from()

void Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::decode_from ( class BER_Decoder from)

Decode whatever this object is from from

fromthe BER_Decoder that will be read from

Implements Botan::ASN1_Object.

Definition at line 972 of file x509_ext.cpp.

973 {
974 ber.start_cons(SEQUENCE)
975 .start_cons(ASN1_Tag(0), CONTEXT_SPECIFIC)
976 .decode_optional_implicit(m_point, ASN1_Tag(0),
979 .end_cons().end_cons();
980 }
Definition: asn1_obj.h:25
Definition: asn1_obj.h:30
Definition: asn1_obj.h:42
Definition: asn1_obj.h:28

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().

◆ encode_into()

void Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::encode_into ( class DER_Encoder to) const

Encode whatever this object is into to

tothe DER_Encoder that will be written to

Implements Botan::ASN1_Object.

Definition at line 967 of file x509_ext.cpp.

968 {
969 throw Not_Implemented("CRL_Distribution_Points encoding");
970 }

◆ point()

const AlternativeName & Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point::point ( ) const

Definition at line 400 of file x509_ext.h.

400{ return m_point; }

Referenced by Botan::Cert_Extension::CRL_Issuing_Distribution_Point::get_point().

The documentation for this class was generated from the following files: