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

#include <tx_receipt_impl.h>

Public Member Functions

 TxReceiptImpl (const std::vector< uint8_t > &signature_, const std::optional< std::vector< uint8_t > > &cose_signature, const HistoryTree::Hash &root_, std::shared_ptr< ccf::HistoryTree::Path > path_, const NodeId &node_id_, const std::optional< ccf::crypto::Pem > &node_cert_, const std::optional< ccf::crypto::Sha256Hash > &write_set_digest_=std::nullopt, const std::optional< std::string > &commit_evidence_=std::nullopt, const ccf::ClaimsDigest &claims_digest_=ccf::no_claims(), const std::optional< std::vector< ccf::crypto::Pem > > &service_endorsements_=std::nullopt, const std::optional< std::vector< std::vector< uint8_t > > > &cose_endorsements_=std::nullopt)
 

Public Attributes

std::vector< uint8_t > signature = {}
 
std::optional< std::vector< uint8_t > > cose_signature = std::nullopt
 
HistoryTree::Hash root = {}
 
std::shared_ptr< ccf::HistoryTree::Path > path = {}
 
ccf::NodeId node_id = {}
 
std::optional< ccf::crypto::Pemnode_cert = std::nullopt
 
std::optional< ccf::crypto::Sha256Hashwrite_set_digest = std::nullopt
 
std::optional< std::string > commit_evidence = std::nullopt
 
ccf::ClaimsDigest claims_digest = {}
 
std::optional< std::vector< ccf::crypto::Pem > > service_endorsements
 
std::optional< std::vector< std::vector< uint8_t > > > cose_endorsements
 

Constructor & Destructor Documentation

◆ TxReceiptImpl()

ccf::TxReceiptImpl::TxReceiptImpl ( const std::vector< uint8_t > &  signature_,
const std::optional< std::vector< uint8_t > > &  cose_signature,
const HistoryTree::Hash &  root_,
std::shared_ptr< ccf::HistoryTree::Path >  path_,
const NodeId node_id_,
const std::optional< ccf::crypto::Pem > &  node_cert_,
const std::optional< ccf::crypto::Sha256Hash > &  write_set_digest_ = std::nullopt,
const std::optional< std::string > &  commit_evidence_ = std::nullopt,
const ccf::ClaimsDigest claims_digest_ = ccf::no_claims(),
const std::optional< std::vector< ccf::crypto::Pem > > &  service_endorsements_ = std::nullopt,
const std::optional< std::vector< std::vector< uint8_t > > > &  cose_endorsements_ = std::nullopt 
)
inline

Member Data Documentation

◆ claims_digest

ccf::ClaimsDigest ccf::TxReceiptImpl::claims_digest = {}

◆ commit_evidence

std::optional<std::string> ccf::TxReceiptImpl::commit_evidence = std::nullopt

◆ cose_endorsements

std::optional<std::vector<std::vector<uint8_t> > > ccf::TxReceiptImpl::cose_endorsements
Initial value:
=
std::nullopt

◆ cose_signature

std::optional<std::vector<uint8_t> > ccf::TxReceiptImpl::cose_signature = std::nullopt

◆ node_cert

std::optional<ccf::crypto::Pem> ccf::TxReceiptImpl::node_cert = std::nullopt

◆ node_id

ccf::NodeId ccf::TxReceiptImpl::node_id = {}

◆ path

std::shared_ptr<ccf::HistoryTree::Path> ccf::TxReceiptImpl::path = {}

◆ root

HistoryTree::Hash ccf::TxReceiptImpl::root = {}

◆ service_endorsements

std::optional<std::vector<ccf::crypto::Pem> > ccf::TxReceiptImpl::service_endorsements
Initial value:
=
std::nullopt

◆ signature

std::vector<uint8_t> ccf::TxReceiptImpl::signature = {}

◆ write_set_digest

std::optional<ccf::crypto::Sha256Hash> ccf::TxReceiptImpl::write_set_digest = std::nullopt

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