hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
crypto_signer.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_CRYPTO_SIGNER_HPP
7 #define IROHA_CRYPTO_SIGNER_HPP
8 
9 #include <string>
10 
11 namespace shared_model {
12  namespace crypto {
13 
14  class Blob;
15  class Keypair;
16 
22  class CryptoSigner {
23  public:
30  static std::string sign(const Blob &blob, const Keypair &keypair);
31 
33  CryptoSigner() = delete;
34  };
35  } // namespace crypto
36 } // namespace shared_model
37 #endif // IROHA_CRYPTO_SIGNER_HPP
Definition: blob.hpp:27
Definition: keypair.hpp:19
static std::string sign(const Blob &blob, const Keypair &keypair)
Definition: crypto_signer.cpp:29
Definition: crypto_signer.hpp:22
CryptoSigner()=delete
close constructor for forbidding instantiation
Definition: command_executor.hpp:13