|
Botan 3.13.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 863 of file x509_ext.h.
| using Botan::Cert_Extension::TNAuthList::Entry::DataContainer = std::variant<ASN1_String, RangeContainer> |
Definition at line 879 of file x509_ext.h.
| using Botan::Cert_Extension::TNAuthList::Entry::RangeContainer = std::vector<TelephoneNumberRangeData> |
Definition at line 878 of file x509_ext.h.
| enum Botan::Cert_Extension::TNAuthList::Entry::Type : uint8_t |
| Enumerator | |
|---|---|
| ServiceProviderCode | |
| TelephoneNumberRange | |
| TelephoneNumber | |
Definition at line 867 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 21 of file asn1_obj.cpp.
References encode_into().
Referenced by decode_from(), Botan::PKCS12::export_to(), 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::PSS_Params::PSS_Params().
|
overridevirtual |
Decode whatever this object is from from
| from | the BER_Decoder that will be read from |
Implements Botan::ASN1_Object.
Definition at line 1629 of file x509_ext.cpp.
References Botan::Constructed, Botan::ContextSpecific, Botan::Cert_Extension::TNAuthList::Entry::TelephoneNumberRangeData::count, Botan::BER_Decoder::decode(), Botan::BER_Decoder::end_cons(), Botan::fmt(), Botan::BER_Object::get_class(), Botan::BER_Decoder::get_next_object(), Botan::BER_Decoder::limits(), 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(), Botan::ASN1_String::value(), and Botan::BER_Decoder::verify_end().
|
overridevirtual |
Encode whatever this object is into to
| to | the DER_Encoder that will be written to |
Implements Botan::ASN1_Object.
Definition at line 1625 of file x509_ext.cpp.
| const std::string & Botan::Cert_Extension::TNAuthList::Entry::service_provider_code | ( | ) | const |
Definition at line 1695 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 1705 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 1700 of file x509_ext.cpp.
References BOTAN_STATE_CHECK, TelephoneNumberRange, and type().
|
inline |
Definition at line 884 of file x509_ext.h.
Referenced by service_provider_code(), telephone_number(), and telephone_number_range().