hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
signer.hpp
Go to the documentation of this file.
1
6
#ifndef IROHA_SHARED_MODEL_SIGNER_HPP
7
#define IROHA_SHARED_MODEL_SIGNER_HPP
8
9
#include "
cryptography/blob.hpp
"
10
#include "
cryptography/keypair.hpp
"
11
12
namespace
shared_model
{
13
namespace
crypto {
17
class
Signer
{
18
public
:
25
static
std::string
sign
(
const
Blob
&blob,
const
Keypair
&keypair);
26
};
27
}
// namespace crypto
28
}
// namespace shared_model
29
30
#endif // IROHA_SHARED_MODEL_SIGNER_HPP
blob.hpp
shared_model::crypto::Signer
Definition:
signer.hpp:17
shared_model::crypto::Blob
Definition:
blob.hpp:27
shared_model::crypto::Keypair
Definition:
keypair.hpp:19
keypair.hpp
shared_model
Definition:
command_executor.hpp:12
shared_model::crypto::Signer::sign
static std::string sign(const Blob &blob, const Keypair &keypair)
Definition:
signer.cpp:15
shared_model
cryptography
ed25519_sha3_impl
signer.hpp
Generated by
1.8.13