8 #include <botan/asn1_int.h>
9 #include <botan/der_enc.h>
10 #include <botan/ber_dec.h>
11 #include <botan/data_src.h>
12 #include <botan/parsing.h>
48 return std::string(reinterpret_cast<const char*>(&obj.
value[0]),
BER_Decoding_Error(const std::string &)
BER_Bad_Tag(const std::string &msg, ASN1_Tag tag)
SecureVector< byte > get_contents()
DER_Encoder & raw_bytes(const byte val[], size_t len)
size_t peek_byte(byte &out) const
bool maybe_BER(DataSource &source)
std::string to_string(const BER_Object &obj)
SecureVector< byte > value
SecureVector< byte > put_in_sequence(const MemoryRegion< byte > &contents)
DER_Encoder & start_cons(ASN1_Tag type_tag, ASN1_Tag class_tag=UNIVERSAL)
std::string to_string(u64bit n, size_t min_len)