|
Botan 3.9.0
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 : uint8_t { 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 &to) 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 529 of file x509_ext.h.
| using Botan::Cert_Extension::TNAuthList::Entry::DataContainer = std::variant<ASN1_String, RangeContainer> |
Definition at line 541 of file x509_ext.h.
| using Botan::Cert_Extension::TNAuthList::Entry::RangeContainer = std::vector<TelephoneNumberRangeData> |
Definition at line 540 of file x509_ext.h.
| enum Botan::Cert_Extension::TNAuthList::Entry::Type : uint8_t |
| Enumerator | |
|---|---|
| ServiceProviderCode | |
| TelephoneNumberRange | |
| TelephoneNumber | |
Definition at line 533 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 encode_into().
Referenced by 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(), Botan::PSS_Params::PSS_Params(), 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 803 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(), ServiceProviderCode, Botan::Cert_Extension::TNAuthList::Entry::TelephoneNumberRangeData::start, Botan::BER_Decoder::start_sequence(), TelephoneNumber, TelephoneNumberRange, 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 799 of file x509_ext.cpp.
| const std::string & Botan::Cert_Extension::TNAuthList::Entry::service_provider_code | ( | ) | const |
Definition at line 862 of file x509_ext.cpp.
References BOTAN_STATE_CHECK, ServiceProviderCode, and type().
| const std::string & Botan::Cert_Extension::TNAuthList::Entry::telephone_number | ( | ) | const |
Definition at line 872 of file x509_ext.cpp.
References BOTAN_STATE_CHECK, TelephoneNumber, and type().
| const TNAuthList::Entry::RangeContainer & Botan::Cert_Extension::TNAuthList::Entry::telephone_number_range | ( | ) | const |
Definition at line 867 of file x509_ext.cpp.
References BOTAN_STATE_CHECK, TelephoneNumberRange, and type().
|
inline |
Definition at line 546 of file x509_ext.h.
Referenced by service_provider_code(), telephone_number(), and telephone_number_range().