Generic signer for asymmetric cryptography.
More...
#include <userver/crypto/signers.hpp>
|
| DsaSigner (const std::string &privkey, const std::string &password={}) |
| Constructor from a PEM-encoded private key and an optional passphrase.
|
|
std::string | Sign (std::initializer_list< std::string_view > data) const override |
| Signs a raw message, returning the signature.
|
|
std::string | SignDigest (std::string_view digest) const |
|
| Signer (const std::string &name) |
|
| NamedAlgo (std::string name) |
|
const std::string & | Name () const |
|
Generic signer for asymmetric cryptography.
Definition at line 68 of file signers.hpp.
◆ Sign()
std::string crypto::DsaSigner< type, bits >::Sign |
( |
std::initializer_list< std::string_view > |
data | ) |
const |
|
overridevirtual |
Signs a raw message, returning the signature.
Implements crypto::Signer.
◆ SignDigest()
std::string crypto::DsaSigner< type, bits >::SignDigest |
( |
std::string_view |
digest | ) |
const |
Signs a message digest, returning the signature.
Not available for RSASSA-PSS.
The documentation for this class was generated from the following file: