#include "crypto_signer.hpp"
CryptoSigner - wrapper for generalization signing for different cryptographic algorithms
- Template Parameters
-
| Algorithm | - cryptographic algorithm for singing |
◆ CryptoSigner()
| shared_model::crypto::CryptoSigner::CryptoSigner |
( |
| ) |
|
|
delete |
close constructor for forbidding instantiation
◆ sign()
| std::string CryptoSigner::sign |
( |
const Blob & |
blob, |
|
|
const Keypair & |
keypair |
|
) |
| |
|
static |
Generate signature for target data
- Parameters
-
| blob | - data for signing |
| keypair | - (public, private) keys for signing |
- Returns
- hex signature
The documentation for this class was generated from the following files: