Definition at line 112 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. | |
const std::string & | Name () const |
|
strong |
Signer flags.
Definition at line 115 of file signers.hpp.
|
strong |
Output encoding.
Definition at line 133 of file signers.hpp.