Definition at line 114 of file signers.hpp.
Public Types | |
enum class | Flags { kNone = 0x0 , kText = 0x1 , kNoCerts = 0x2 , kDetached = 0x40 , kBinary = 0x80 } |
Signer flags. More... | |
enum class | OutForm { kDer , kPem , kSMime } |
Output encoding. More... | |
Public Member Functions | |
CmsSigner (Certificate certificate, PrivateKey pkey) | |
Construct from certificate and private key. | |
std::string | Sign (std::initializer_list< std::string_view > data, utils::Flags< Flags > flags, OutForm out_form) const |
Signs a raw message, returning as specified by flags. | |
Public Member Functions inherited from crypto::NamedAlgo | |
NamedAlgo (std::string name) | |
const std::string & | Name () const |
|
strong |
Signer flags.
Definition at line 117 of file signers.hpp.
|
strong |
Output encoding.
Definition at line 135 of file signers.hpp.