hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
signer.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_SIGNER_HPP
7 #define IROHA_SHARED_MODEL_SIGNER_HPP
8 
9 #include "cryptography/blob.hpp"
10 #include "cryptography/keypair.hpp"
11 
12 namespace shared_model {
13  namespace crypto {
17  class Signer {
18  public:
25  static std::string sign(const Blob &blob, const Keypair &keypair);
26  };
27  } // namespace crypto
28 } // namespace shared_model
29 
30 #endif // IROHA_SHARED_MODEL_SIGNER_HPP
Definition: signer.hpp:17
Definition: blob.hpp:27
Definition: keypair.hpp:19
Definition: command_executor.hpp:13
static std::string sign(const Blob &blob, const Keypair &keypair)
Definition: signer.cpp:15