8 #ifndef BOTAN_DER_ENCODER_H__
9 #define BOTAN_DER_ENCODER_H__
11 #include <botan/asn1_int.h>
69 if(value != default_value)
77 for(
size_t i = 0; i != values.size(); ++i)
86 const byte rep[],
size_t length);
92 const std::string& str);
103 void add_bytes(
const byte[],
size_t);
108 std::vector< SecureVector<byte> > set_contents;
111 SecureVector<byte> contents;
112 std::vector<DER_Sequence> subsequences;
DER_Encoder & encode_list(const std::vector< T > &values)
DER_Encoder & encode_optional(const T &value, const T &default_value)
std::string encode(const byte der[], size_t length, const std::string &label, size_t width)