hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
model_crypto.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_MODEL_CRYPTO_HPP
7 #define IROHA_SHARED_MODEL_MODEL_CRYPTO_HPP
8 
9 #include "cryptography/blob.hpp"
10 #include "cryptography/keypair.hpp"
11 #include "cryptography/signed.hpp"
12 
13 namespace shared_model {
14  namespace bindings {
18  class ModelCrypto {
19  public:
25 
31  crypto::Keypair fromPrivateKey(const std::string &private_key);
32 
40  const std::string &private_key);
41  };
42  } // namespace bindings
43 } // namespace shared_model
44 
45 #endif // IROHA_SHARED_MODEL_MODEL_CRYPTO_HPP
crypto::Keypair convertFromExisting(const std::string &public_key, const std::string &private_key)
Definition: model_crypto.cpp:32
crypto::Keypair fromPrivateKey(const std::string &private_key)
Definition: model_crypto.cpp:17
Definition: keypair.hpp:19
Definition: model_crypto.hpp:18
crypto::Keypair generateKeypair()
Definition: model_crypto.cpp:13
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
Definition: command_executor.hpp:12