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

#include "crypto_signer.hpp"

Collaboration diagram for shared_model::crypto::CryptoSigner:
Collaboration graph

Public Member Functions

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

Static Public Member Functions

static std::string sign (const Blob &blob, const Keypair &keypair)
 

Detailed Description

CryptoSigner - wrapper for generalization signing for different cryptographic algorithms

Template Parameters
Algorithm- cryptographic algorithm for singing

Constructor & Destructor Documentation

◆ CryptoSigner()

shared_model::crypto::CryptoSigner::CryptoSigner ( )
delete

close constructor for forbidding instantiation

Member Function Documentation

◆ sign()

std::string CryptoSigner::sign ( const Blob blob,
const Keypair keypair 
)
static

Generate signature for target data

Parameters
blob- data for signing
keypair- (public, private) keys for signing
Returns
hex signature
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 files: