CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ccf::PreviousLedgerSecretInfo Struct Reference

#include <shares.h>

Public Member Functions

 PreviousLedgerSecretInfo ()=default
 
 PreviousLedgerSecretInfo (std::vector< uint8_t > &&encrypted_data_, ccf::kv::Version version_, std::optional< ccf::kv::Version > stored_version_)
 
bool operator== (const PreviousLedgerSecretInfo &other) const
 
bool operator!= (const PreviousLedgerSecretInfo &other) const
 

Public Attributes

std::vector< uint8_t > encrypted_data = {}
 
ccf::kv::Version version = ccf::kv::NoVersion
 
std::optional< ccf::kv::Versionprevious_secret_stored_version
 

Constructor & Destructor Documentation

◆ PreviousLedgerSecretInfo() [1/2]

ccf::PreviousLedgerSecretInfo::PreviousLedgerSecretInfo ( )
default

◆ PreviousLedgerSecretInfo() [2/2]

ccf::PreviousLedgerSecretInfo::PreviousLedgerSecretInfo ( std::vector< uint8_t > &&  encrypted_data_,
ccf::kv::Version  version_,
std::optional< ccf::kv::Version stored_version_ 
)
inline

Member Function Documentation

◆ operator!=()

bool ccf::PreviousLedgerSecretInfo::operator!= ( const PreviousLedgerSecretInfo other) const
inline

◆ operator==()

bool ccf::PreviousLedgerSecretInfo::operator== ( const PreviousLedgerSecretInfo other) const
inline

Member Data Documentation

◆ encrypted_data

std::vector<uint8_t> ccf::PreviousLedgerSecretInfo::encrypted_data = {}

◆ previous_secret_stored_version

std::optional<ccf::kv::Version> ccf::PreviousLedgerSecretInfo::previous_secret_stored_version
Initial value:
=
std::nullopt

◆ version

ccf::kv::Version ccf::PreviousLedgerSecretInfo::version = ccf::kv::NoVersion

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