userver: crypto::Verifier Class Reference
Loading...
Searching...
No Matches
crypto::Verifier Class Referenceabstract

Base verifier class. More...

#include <userver/crypto/verifiers.hpp>

+ Inheritance diagram for crypto::Verifier:
+ Collaboration diagram for crypto::Verifier:

Public Member Functions

 Verifier (const std::string &name)
 
virtual void Verify (std::initializer_list< std::string_view > data, std::string_view raw_signature) const =0
 Verifies a signature against the message.
 
- Public Member Functions inherited from crypto::NamedAlgo
 NamedAlgo (std::string name)
 
const std::string & Name () const
 

Detailed Description

Base verifier class.

Definition at line 23 of file verifiers.hpp.

Member Function Documentation

◆ Verify()

virtual void crypto::Verifier::Verify ( std::initializer_list< std::string_view >  data,
std::string_view  raw_signature 
) const
pure virtual

Verifies a signature against the message.

Implemented in crypto::VerifierNone, crypto::HmacShaVerifier< bits >, and crypto::DsaVerifier< type, bits >.


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