Botan
1.11.15
|
#include <asn1_obj.h>
Public Member Functions | |
void | assert_is_a (ASN1_Tag, ASN1_Tag) |
Public Attributes | |
ASN1_Tag | class_tag |
ASN1_Tag | type_tag |
secure_vector< byte > | value |
BER Encoded Object
Definition at line 78 of file asn1_obj.h.
void Botan::BER_Object::assert_is_a | ( | ASN1_Tag | type_tag, |
ASN1_Tag | class_tag | ||
) |
Definition at line 141 of file ber_dec.cpp.
References Botan::ASN1::to_string().
Referenced by Botan::BER_Decoder::decode(), Botan::BER_Decoder::decode_null(), and Botan::BER_Decoder::start_cons().
{ if(this->type_tag != type_tag || this->class_tag != class_tag) throw BER_Decoding_Error("Tag mismatch when decoding got " + std::to_string(this->type_tag) + "/" + std::to_string(this->class_tag) + " expected " + std::to_string(type_tag) + "/" + std::to_string(class_tag)); }
Definition at line 83 of file asn1_obj.h.
Referenced by Botan::BER_Decoder::BER_Decoder(), Botan::BER::decode(), Botan::OID::decode_from(), Botan::AlternativeName::decode_from(), Botan::BER_Decoder::decode_optional(), Botan::BER_Decoder::decode_optional_implicit(), Botan::BER_Decoder::decode_optional_string(), and Botan::BER_Decoder::get_next_object().
Definition at line 83 of file asn1_obj.h.
Referenced by Botan::BER_Decoder::BER_Decoder(), Botan::BER::decode(), Botan::ASN1_String::decode_from(), Botan::X509_Time::decode_from(), Botan::OID::decode_from(), Botan::AlternativeName::decode_from(), Botan::EAC_Time::decode_from(), Botan::OCSP::SingleResponse::decode_from(), Botan::ASN1_EAC_String::decode_from(), Botan::BER_Decoder::decode_optional(), Botan::BER_Decoder::decode_optional_implicit(), Botan::BER_Decoder::decode_optional_string(), Botan::EC_Group::EC_Group(), Botan::BER_Decoder::get_next_object(), Botan::BER_Decoder::more_items(), Botan::BER_Decoder::push_back(), and Botan::BER_Decoder::verify_end().
secure_vector<byte> Botan::BER_Object::value |
Definition at line 84 of file asn1_obj.h.
Referenced by Botan::BER::decode(), Botan::BER_Decoder::decode(), Botan::OID::decode_from(), Botan::EAC_Time::decode_from(), Botan::AlternativeName::decode_from(), Botan::BER_Decoder::decode_null(), Botan::BER_Decoder::decode_optional(), Botan::BER_Decoder::decode_optional_string(), Botan::BER_Decoder::get_next_object(), Botan::BER_Decoder::start_cons(), and Botan::ASN1::to_string().