hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::crypto::CryptoVerifier< Algorithm > Class Template Reference

#include "crypto_verifier.hpp"

Collaboration diagram for shared_model::crypto::CryptoVerifier< Algorithm >:
Collaboration graph

Public Member Functions

 CryptoVerifier ()=delete
 close constructor for forbidding instantiation More...
 

Static Public Member Functions

static bool verify (const Signed &signedData, const Blob &source, const PublicKey &pubKey)
 

Detailed Description

template<typename Algorithm = DefaultCryptoAlgorithmType>
class shared_model::crypto::CryptoVerifier< Algorithm >

CryptoVerifier - adapter for generalization verification of cryptographic signatures

Template Parameters
Algorithm- cryptographic algorithm for verification

Constructor & Destructor Documentation

template<typename Algorithm = DefaultCryptoAlgorithmType>
shared_model::crypto::CryptoVerifier< Algorithm >::CryptoVerifier ( )
delete

close constructor for forbidding instantiation

Here is the caller graph for this function:

Member Function Documentation

template<typename Algorithm = DefaultCryptoAlgorithmType>
static bool shared_model::crypto::CryptoVerifier< Algorithm >::verify ( const Signed signedData,
const Blob source,
const PublicKey pubKey 
)
inlinestatic

Verify signature attached to source data

Parameters
signedData- cryptographic signature
source- data that was signed
pubKey- public key of signatory
Returns
true if signature correct

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: