#include <userver/crypto/signers.hpp>
Generic signer for asymmetric cryptography.
Definition at line 68 of file signers.hpp.
Public Member Functions | |
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 |
Public Member Functions inherited from crypto::Signer | |
Signer (const std::string &name) | |
Public Member Functions inherited from crypto::NamedAlgo | |
NamedAlgo (std::string name) | |
const std::string & | Name () const |
|
overridevirtual |
Signs a raw message, returning the signature.
Implements crypto::Signer.
std::string crypto::DsaSigner< type, bits >::SignDigest | ( | std::string_view | digest | ) | const |
Signs a message digest, returning the signature.
Not available for RSASSA-PSS.