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

#include <share_manager.h>

Public Member Functions

 SharedLedgerSecretWrappingKey (size_t num_shares_, size_t recovery_threshold_)
 
size_t get_num_shares () const
 
size_t get_recovery_threshold () const
 
std::vector< std::vector< uint8_t > > get_shares () const
 
void get_full_share_serialised (std::vector< uint8_t > &serialised) const
 
std::vector< uint8_t > wrap (const LedgerSecretPtr &ledger_secret)
 

Constructor & Destructor Documentation

◆ SharedLedgerSecretWrappingKey()

ccf::SharedLedgerSecretWrappingKey::SharedLedgerSecretWrappingKey ( size_t  num_shares_,
size_t  recovery_threshold_ 
)
inline

Member Function Documentation

◆ get_full_share_serialised()

void ccf::SharedLedgerSecretWrappingKey::get_full_share_serialised ( std::vector< uint8_t > &  serialised) const
inline

◆ get_num_shares()

size_t ccf::SharedLedgerSecretWrappingKey::get_num_shares ( ) const
inline

◆ get_recovery_threshold()

size_t ccf::SharedLedgerSecretWrappingKey::get_recovery_threshold ( ) const
inline

◆ get_shares()

std::vector< std::vector< uint8_t > > ccf::SharedLedgerSecretWrappingKey::get_shares ( ) const
inline

◆ wrap()

std::vector< uint8_t > ccf::SharedLedgerSecretWrappingKey::wrap ( const LedgerSecretPtr ledger_secret)
inline

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