hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
verifier.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_VERIFIER_HPP
7 #define IROHA_SHARED_MODEL_VERIFIER_HPP
8 
9 #include "cryptography/blob.hpp"
11 
12 namespace shared_model {
13  namespace crypto {
17  class Verifier {
18  public:
19  static bool verify(
20  shared_model::interface::types::SignatureByteRangeView signature,
21  const Blob &orig,
22  shared_model::interface::types::PublicKeyByteRangeView public_key);
23  };
24 
25  } // namespace crypto
26 } // namespace shared_model
27 
28 #endif // IROHA_SHARED_MODEL_VERIFIER_HPP
Definition: blob.hpp:27
static bool verify(shared_model::interface::types::SignatureByteRangeView signature, const Blob &orig, shared_model::interface::types::PublicKeyByteRangeView public_key)
Definition: verifier.cpp:16
Definition: verifier.hpp:17
Definition: command_executor.hpp:12