Botan 3.6.1
Crypto and TLS for C&
|
#include <x509_ext.h>
Classes | |
struct | TelephoneNumberRangeData |
Public Types | |
using | DataContainer = std::variant<ASN1_String, RangeContainer> |
using | RangeContainer = std::vector<TelephoneNumberRangeData> |
enum | Type { ServiceProviderCode = 0 , TelephoneNumberRange = 1 , TelephoneNumber = 2 } |
Public Member Functions | |
std::vector< uint8_t > | BER_encode () const |
void | decode_from (class BER_Decoder &from) override |
void | encode_into (DER_Encoder &) const override |
const std::string & | service_provider_code () const |
const std::string & | telephone_number () const |
const RangeContainer & | telephone_number_range () const |
Type | type () const |
Definition at line 511 of file x509_ext.h.
using Botan::Cert_Extension::TNAuthList::Entry::DataContainer = std::variant<ASN1_String, RangeContainer> |
Definition at line 523 of file x509_ext.h.
using Botan::Cert_Extension::TNAuthList::Entry::RangeContainer = std::vector<TelephoneNumberRangeData> |
Definition at line 522 of file x509_ext.h.
Enumerator | |
---|---|
ServiceProviderCode | |
TelephoneNumberRange | |
TelephoneNumber |
Definition at line 515 of file x509_ext.h.
|
inherited |
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 19 of file asn1_obj.cpp.
References Botan::ASN1_Object::encode_into().
Referenced by Botan::PSS_Params::decode_from(), 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().
|
overridevirtual |
Decode whatever this object is from from
from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 791 of file x509_ext.cpp.
References Botan::Cert_Extension::TNAuthList::Entry::TelephoneNumberRangeData::count, Botan::BER_Decoder::decode(), Botan::BER_Decoder::end_cons(), Botan::fmt(), Botan::BER_Decoder::get_next_object(), Botan::BER_Decoder::more_items(), Botan::Cert_Extension::TNAuthList::Entry::TelephoneNumberRangeData::start, Botan::BER_Decoder::start_sequence(), Botan::BER_Object::type_tag(), and Botan::ASN1_String::value().
|
overridevirtual |
Encode whatever this object is into to
to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 787 of file x509_ext.cpp.
|
inline |
Definition at line 530 of file x509_ext.h.
References BOTAN_STATE_CHECK.
|
inline |
Definition at line 540 of file x509_ext.h.
References BOTAN_STATE_CHECK.
|
inline |
Definition at line 535 of file x509_ext.h.
References BOTAN_STATE_CHECK.
|
inline |
Definition at line 528 of file x509_ext.h.