8 #include <botan/alg_id.h>
9 #include <botan/der_enc.h>
10 #include <botan/ber_dec.h>
11 #include <botan/oids.h>
41 const byte DER_NULL[] = { 0x05, 0x00 };
48 DER_NULL,
sizeof(DER_NULL));
58 const byte DER_NULL[] = { 0x05, 0x00 };
65 DER_NULL,
sizeof(DER_NULL));
bool operator!=(const OctetString &s1, const OctetString &s2)
DER_Encoder & raw_bytes(const byte val[], size_t len)
BER_Decoder & decode(bool &)
bool operator==(const OctetString &s1, const OctetString &s2)
SecureVector< byte > parameters
BER_Decoder start_cons(ASN1_Tag, ASN1_Tag=UNIVERSAL)
DER_Encoder & encode(bool b)
void decode_from(class BER_Decoder &)
std::string lookup(const OID &oid)
BER_Decoder & raw_bytes(MemoryRegion< byte > &)
DER_Encoder & start_cons(ASN1_Tag type_tag, ASN1_Tag class_tag=UNIVERSAL)
void encode_into(class DER_Encoder &) const