|
| 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.
|
|
| NamedAlgo (std::string name) |
|
const std::string & | Name () const |
|
Definition at line 114 of file signers.hpp.
◆ Flags
Signer flags.
Enumerator |
---|
kText | If set MIME headers for type text/plain are prepended to the data.
|
kNoCerts | If set the signer's certificate will not be included in the resulting CMS structure. This can reduce the size of the signature if the signers certificate can be obtained by other means: for example a previously signed message.
|
kDetached | If set data being signed is omitted from the resulting CMS structure.
|
kBinary | Normally the supplied content is translated into MIME canonical format (as required by the S/MIME specifications). If set no translation occurs.
|
Definition at line 117 of file signers.hpp.
◆ OutForm
The documentation for this class was generated from the following file: