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
"
10
#include "
interfaces/common_objects/string_view_types.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
blob.hpp
shared_model::crypto::Blob
Definition:
blob.hpp:27
shared_model::crypto::Verifier::verify
static bool verify(shared_model::interface::types::SignatureByteRangeView signature, const Blob &orig, shared_model::interface::types::PublicKeyByteRangeView public_key)
Definition:
verifier.cpp:16
shared_model::crypto::Verifier
Definition:
verifier.hpp:17
string_view_types.hpp
shared_model
Definition:
command_executor.hpp:12
shared_model
cryptography
ed25519_sha3_impl
verifier.hpp
Generated by
1.8.13