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