#include <userver/crypto/verifiers.hpp>
HMAC-SHA verifier.
Definition at line 45 of file verifiers.hpp.
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. | |
Public Member Functions inherited from crypto::Verifier | |
Verifier (const std::string &name) | |
Public Member Functions inherited from crypto::NamedAlgo | |
NamedAlgo (std::string name) | |
const std::string & | Name () const |
|
overridevirtual |
Verifies a signature against the message.
Implements crypto::Verifier.