8#ifndef BOTAN_CMS_ENCODER_H__
9#define BOTAN_CMS_ENCODER_H__
11#include <botan/x509cert.h>
12#include <botan/x509stor.h>
13#include <botan/pkcs8.h>
14#include <botan/symkey.h>
29 const std::string&,
const std::string& =
"");
35 void authenticate(
const std::string&,
const std::string& =
"");
41 const std::vector<X509_Certificate>& cert_chain,
42 const std::string& hash,
43 const std::string& padding);
45 void digest(
const std::string& =
"");
void compress(const std::string &)
void digest(const std::string &="")
void set_data(const std::string &)
CMS_Encoder(const byte buf[], size_t length)
void encrypt(RandomNumberGenerator &, const X509_Certificate &, const std::string="")
void sign(const X509_Certificate &cert, const Private_Key &key, RandomNumberGenerator &rng, const std::vector< X509_Certificate > &cert_chain, const std::string &hash, const std::string &padding)
CMS_Encoder(const std::string &str)
static bool can_compress_with(const std::string &)
SecureVector< byte > get_contents()
std::string PEM_contents()
void authenticate(const X509_Certificate &, const std::string &="")
OctetString InitializationVector