8 #include <botan/cms_enc.h>     9 #include <botan/der_enc.h>    10 #include <botan/oids.h>    11 #include <botan/pem.h>    21       throw Invalid_State(
"Cannot call CMS_Encoder::set_data here");
    25    type = 
"CMS.DataContent";
    33    set_data(reinterpret_cast<const byte*>(str.c_str()), str.length());
    58 void CMS_Encoder::add_layer(
const std::string& 
oid, 
DER_Encoder& new_layer)
    76                                               const std::string& type)
 
SecureVector< byte > get_contents()
std::string PEM_contents()
std::string lookup(const OID &oid)
void copy_mem(T *out, const T *in, size_t n)
std::string encode(const byte der[], size_t length, const std::string &label, size_t width)
DER_Encoder & start_cons(ASN1_Tag type_tag, ASN1_Tag class_tag=UNIVERSAL)
void set_data(const std::string &)
SecureVector< byte > get_contents()