userver: crypto::HmacShaVerifier< bits > Class Template Reference
Loading...
Searching...
No Matches
crypto::HmacShaVerifier< bits > Class Template Referencefinal

#include <userver/crypto/verifiers.hpp>

Detailed Description

template<DigestSize bits>
class crypto::HmacShaVerifier< bits >

HMAC-SHA verifier.

Definition at line 43 of file verifiers.hpp.

+ Inheritance diagram for crypto::HmacShaVerifier< bits >:

Public Member Functions

 HmacShaVerifier (std::string secret)
 Constructor from a shared secret.
 
void Verify (std::initializer_list< std::string_view > data, std::string_view raw_signature) const override
 Verifies a signature against the message.
 
const std::string & Name () const
 

Member Function Documentation

◆ Verify()

template<DigestSize bits>
void crypto::HmacShaVerifier< bits >::Verify ( std::initializer_list< std::string_view > data,
std::string_view raw_signature ) const
overridevirtual

Verifies a signature against the message.

Implements crypto::Verifier.


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