hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
abstract_crypto_model_signer.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_ABSTRACT_CRYPTO_MODEL_SIGNER_HPP
7 #define IROHA_ABSTRACT_CRYPTO_MODEL_SIGNER_HPP
8 
9 namespace shared_model {
10  namespace crypto {
11 
15  template <typename Model>
17  public:
21  virtual void sign(Model &m) const = 0;
22 
23  virtual ~AbstractCryptoModelSigner() = default;
24  };
25 
26  } // namespace crypto
27 } // namespace shared_model
28 
29 #endif // IROHA_ABSTRACT_CRYPTO_MODEL_SIGNER_HPP
virtual void sign(Model &m) const =0
Definition: command_executor.hpp:12
Definition: abstract_crypto_model_signer.hpp:16