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

#include <userver/crypto/verifiers.hpp>

Detailed Description

Base verifier class.

Definition at line 23 of file verifiers.hpp.

+ Inheritance 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.
 
const std::string & Name () const
 

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: