CCF
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
ccf::LedgerSecretsBroadcast Class Reference

#include <secret_broadcast.h>

Public Types

using SecretsWriteHandle = ccf::Secrets::WriteOnlyHandle
 

Static Public Member Functions

static void broadcast_some (std::map< NodeId, NodeInfo > &&nodes, SecretsWriteHandle *secrets, const LedgerSecretsMap &some_ledger_secrets)
 
static void broadcast_new (std::map< NodeId, NodeInfo > &&nodes, SecretsWriteHandle *secrets, LedgerSecretPtr &&new_ledger_secret)
 
static std::vector< uint8_t > decrypt (const ccf::crypto::RSAKeyPairPtr &encryption_key, const std::vector< uint8_t > &cipher)
 

Member Typedef Documentation

◆ SecretsWriteHandle

Member Function Documentation

◆ broadcast_new()

static void ccf::LedgerSecretsBroadcast::broadcast_new ( std::map< NodeId, NodeInfo > &&  nodes,
SecretsWriteHandle secrets,
LedgerSecretPtr &&  new_ledger_secret 
)
inlinestatic

◆ broadcast_some()

static void ccf::LedgerSecretsBroadcast::broadcast_some ( std::map< NodeId, NodeInfo > &&  nodes,
SecretsWriteHandle secrets,
const LedgerSecretsMap some_ledger_secrets 
)
inlinestatic

◆ decrypt()

static std::vector< uint8_t > ccf::LedgerSecretsBroadcast::decrypt ( const ccf::crypto::RSAKeyPairPtr encryption_key,
const std::vector< uint8_t > &  cipher 
)
inlinestatic

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