Botan  1.11.15
Public Member Functions
Botan::Cert_Extension::CRL_Distribution_Points::Distribution_Point Class Reference

#include <x509_ext.h>

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

List of all members.

Public Member Functions

void decode_from (class BER_Decoder &)
void encode_into (class DER_Encoder &) const
const AlternativeNamepoint () const

Detailed Description

Definition at line 350 of file x509_ext.h.


Member Function Documentation

Decode whatever this object is from from

Parameters:
fromthe 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();
   }

Encode whatever this object is into to

Parameters:
tothe 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");
   }

Definition at line 356 of file x509_ext.h.

{ return m_point; }

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