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

Detailed Description

Definition at line 115 of file verifiers.hpp.

+ Inheritance 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.
 
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 118 of file verifiers.hpp.

◆ InForm

enum class crypto::CmsVerifier::InForm
strong

Input encoding.

Definition at line 125 of file verifiers.hpp.


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