#include <userver/crypto/verifiers.hpp>
Generic verifier for asymmetric cryptography.
Definition at line 69 of file verifiers.hpp.
Public Member Functions | |
DsaVerifier (PublicKey pubkey) | |
Constructor from public key. | |
DsaVerifier (std::string_view pubkey) | |
Constructor from a PEM-encoded public key or a X509 certificate. | |
void | Verify (std::initializer_list< std::string_view > data, std::string_view raw_signature) const override |
Verifies a signature against the message. | |
void | VerifyDigest (std::string_view digest, std::string_view raw_signature) const |
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.
void crypto::DsaVerifier< type, bits >::VerifyDigest | ( | std::string_view | digest, |
std::string_view | raw_signature ) const |
Verifies a signature against the message digest.
Not available for RSASSA-PSS.