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