Generic verifier for asymmetric cryptography.
More...
#include <userver/crypto/verifiers.hpp>
|
| 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 |
|
| Verifier (const std::string &name) |
|
| NamedAlgo (std::string name) |
|
const std::string & | Name () const |
|
Generic verifier for asymmetric cryptography.
Definition at line 69 of file verifiers.hpp.
◆ Verify()
void crypto::DsaVerifier< type, bits >::Verify |
( |
std::initializer_list< std::string_view > |
data, |
|
|
std::string_view |
raw_signature |
|
) |
| const |
|
overridevirtual |
◆ VerifyDigest()
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.
- Warning
- Do not use this function when the raw message is available!
The documentation for this class was generated from the following file: