CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
receipt.h File Reference
#include "ccf/claims_digest.h"
#include "ccf/crypto/pem.h"
#include "ccf/crypto/sha256_hash.h"
#include "ccf/ds/json.h"
#include "ccf/ds/openapi.h"
#include "ccf/entity_id.h"
#include <optional>
#include <string>

Go to the source code of this file.

Classes

class  ccf::Receipt
 
class  ccf::ProofReceipt
 
struct  ccf::ProofReceipt::Components
 
struct  ccf::ProofReceipt::ProofStep
 
class  ccf::SignatureReceipt
 

Namespaces

namespace  ccf
 

Typedefs

using ccf::ReceiptPtr = std::shared_ptr< Receipt >
 
using ccf::TxReceiptImplPtr = std::shared_ptr< TxReceiptImpl >
 

Functions

nlohmann::json ccf::describe_receipt_v1 (const TxReceiptImpl &receipt)
 
ReceiptPtr ccf::describe_receipt_v2 (const TxReceiptImpl &receipt)
 
void ccf::to_json (nlohmann::json &j, const ProofReceipt::Components &step)
 
void ccf::from_json (const nlohmann::json &j, ProofReceipt::Components &step)
 
std::string ccf::schema_name (const ProofReceipt::Components *)
 
void ccf::fill_json_schema (nlohmann::json &schema, const ProofReceipt::Components *)
 
void ccf::to_json (nlohmann::json &j, const ProofReceipt::ProofStep &step)
 
void ccf::from_json (const nlohmann::json &j, ProofReceipt::ProofStep &step)
 
std::string ccf::schema_name (const ProofReceipt::ProofStep *)
 
void ccf::fill_json_schema (nlohmann::json &schema, const ProofReceipt::ProofStep *)
 
void ccf::to_json (nlohmann::json &j, const ReceiptPtr &receipt)
 
void ccf::from_json (const nlohmann::json &j, ReceiptPtr &receipt)
 
std::string ccf::schema_name (const ReceiptPtr *)
 
void ccf::fill_json_schema (nlohmann::json &schema, const ReceiptPtr *)
 
template<typename T >
void ccf::add_schema_components (T &helper, nlohmann::json &schema, const ProofReceipt::Components *comp)
 
template<typename T >
void ccf::add_schema_components (T &helper, nlohmann::json &schema, const ProofReceipt::ProofStep *ps)
 
template<typename T >
void ccf::add_schema_components (T &helper, nlohmann::json &schema, const ReceiptPtr *r)