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]),
SecureVector< byte > value
DER_Encoder & start_cons(ASN1_Tag type_tag, ASN1_Tag class_tag=UNIVERSAL)
DER_Encoder & raw_bytes(const byte val[], size_t len)
SecureVector< byte > get_contents()
size_t peek_byte(byte &out) const
bool maybe_BER(DataSource &source)
std::string to_string(const BER_Object &obj)
SecureVector< byte > put_in_sequence(const MemoryRegion< byte > &contents)
std::string to_string(u64bit n, size_t min_len)
BER_Bad_Tag(const std::string &msg, ASN1_Tag tag)
BER_Decoding_Error(const std::string &)
Decoding_Error(const std::string &name)
Stream_IO_Error(const std::string &err)