#include "model_crypto_provider.hpp"


Public Member Functions | |
| virtual | ~ModelCryptoProvider ()=default |
| virtual bool | verify (const Transaction &tx) const =0 |
| virtual bool | verify (const Query &query) const =0 |
| virtual bool | verify (const Block &block) const =0 |
| virtual void | sign (Block &block) const =0 |
| virtual void | sign (Transaction &transaction) const =0 |
| virtual void | sign (Query &query) const =0 |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Crypto provider is an abstract service for making cryptography operations for business logic objects (Model).
|
virtualdefault |
|
pure virtual |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Method for signing a block with stored keypair
| block | - block for signing |
Implemented in iroha::model::ModelCryptoProviderImpl.
|
pure virtual |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Method for signing a transaction with stored keypair
| transaction | - transaction for signing |
Implemented in iroha::model::ModelCryptoProviderImpl.
|
pure virtual |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Method for signing a query with stored keypair
| query | - query to sign |
Implemented in iroha::model::ModelCryptoProviderImpl.
|
pure virtual |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Method for signature verification of a transaction.
| tx | - transaction for verification |
Implemented in iroha::model::ModelCryptoProviderImpl.
|
pure virtual |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Method for signature verification of a query.
| query | - query for verification |
Implemented in iroha::model::ModelCryptoProviderImpl.
|
pure virtual |
[[deprecated]] Use irohad/crypto_provider with shared_model instead this class. It is for compatibility with cli. Method for signature verification of a block.
| block | - block for verification |
Implemented in iroha::model::ModelCryptoProviderImpl.