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 #include "cryptography/signed.hpp"
12 
13 namespace shared_model {
14  namespace crypto {
18  class Signer {
19  public:
26  static Signed sign(const Blob &blob, const Keypair &keypair);
27  };
28  } // namespace crypto
29 } // namespace shared_model
30 
31 #endif // IROHA_SHARED_MODEL_SIGNER_HPP
Definition: signer.hpp:18
Definition: blob.hpp:24
Definition: keypair.hpp:19
Definition: signed.hpp:17
static Signed sign(const Blob &blob, const Keypair &keypair)
Definition: signer.cpp:13
Definition: command_executor.hpp:12