Definition at line 116 of file verifiers.hpp.
Public Types | |
| enum class | Flags { kNone = 0x0 , kNoSignerCertVerify = 0x20 } |
| Verifier flags. More... | |
| enum class | InForm { kDer , kPem , kSMime } |
| Input encoding. More... | |
Public Member Functions | |
| CmsVerifier (Certificate certificate) | |
| void | Verify (std::initializer_list< std::string_view > data, utils::Flags< Flags > flags, InForm in_form) const |
| Verifies a CMS signed message as specified by flags. | |
| const std::string & | Name () const |
|
strong |
Verifier flags.
| Enumerator | |
|---|---|
| kNoSignerCertVerify | If set the signing certificate is not verified. |
Definition at line 119 of file verifiers.hpp.
|
strong |
Input encoding.
Definition at line 126 of file verifiers.hpp.
| crypto::CmsVerifier::CmsVerifier | ( | Certificate | certificate | ) |
Constructor from certificate. Only this certificate is used to verify signatures, certificates embedded into the message are ignored.