hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
private_key.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PRIVATE_KEY_HPP
7 #define IROHA_SHARED_MODEL_PRIVATE_KEY_HPP
8 
9 #include "cryptography/blob.hpp"
10 
11 namespace shared_model {
12  namespace crypto {
16  class PrivateKey : public Blob {
17  public:
18  explicit PrivateKey(const std::string &private_key);
19 
20  explicit PrivateKey(const Blob &blob);
21 
22  std::string toString() const override;
23  };
24  } // namespace crypto
25 } // namespace shared_model
26 
27 #endif // IROHA_SHARED_MODEL_PRIVATE_KEY_HPP
Definition: blob.hpp:24
std::string toString() const override
Definition: private_key.cpp:16
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: private_key.hpp:16
PrivateKey(const std::string &private_key)
Definition: private_key.cpp:11
virtual const Bytes & blob() const
Definition: blob.cpp:41
Definition: command_executor.hpp:12