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

#include "crypto_signer.hpp"

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

Public Member Functions

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

Static Public Member Functions

static Signed sign (const Blob &blob, const Keypair &keypair)
 

Detailed Description

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

CryptoSigner - wrapper for generalization signing for different cryptographic algorithms

Template Parameters
Algorithm- cryptographic algorithm for singing

Constructor & Destructor Documentation

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

close constructor for forbidding instantiation

Here is the caller graph for this function:

Member Function Documentation

template<typename Algorithm = DefaultCryptoAlgorithmType>
static Signed shared_model::crypto::CryptoSigner< Algorithm >::sign ( const Blob blob,
const Keypair keypair 
)
inlinestatic

Generate signature for target data

Parameters
blob- data for signing
keypair- (public, private) keys for signing
Returns
signature's blob

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: