userver: crypto::CmsVerifier Class Reference
Loading...
Searching...
No Matches
crypto::CmsVerifier Class Referencefinal

Detailed Description

Definition at line 120 of file verifiers.hpp.

+ Inheritance diagram for crypto::CmsVerifier:
+ Collaboration diagram for crypto::CmsVerifier:

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)
 Constructor from 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.
 
- Public Member Functions inherited from crypto::NamedAlgo
 NamedAlgo (std::string name)
 
const std::string & Name () const
 

Member Enumeration Documentation

◆ Flags

enum class crypto::CmsVerifier::Flags
strong

Verifier flags.

Enumerator
kNoSignerCertVerify 

If set the signing certificate is not verified.

Definition at line 123 of file verifiers.hpp.

◆ InForm

enum class crypto::CmsVerifier::InForm
strong

Input encoding.

Definition at line 130 of file verifiers.hpp.


The documentation for this class was generated from the following file: