purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::puresign_plusplus::CertificateNonceNativeReceipt Class Reference

#include <certificate_nonce_parent_accumulation.hpp>

Public Member Functions

const bppp::accumulation::Digest & certificate_context_digest () const noexcept
std::span< const CertificateNonceNativeResponse > responses () const noexcept
std::span< const CertificateNonceTreeProof > tree_proofs () const noexcept

Static Public Member Functions

static Result< CertificateNonceNativeReceipt > create (bppp::accumulation::Digest certificate_context_digest, std::vector< CertificateNonceNativeResponse > responses, std::vector< CertificateNonceTreeProof > tree_proofs)

Static Public Attributes

static constexpr std::size_t kHeaderSerializedSize = 88
static constexpr std::size_t kResponseHeaderSerializedSize = 33
static constexpr std::size_t kReductionSerializedSize = 890
static constexpr std::size_t kStepSerializedSize = 924

Detailed Description

Canonical native proof transport for one complete certificate tree.

This is not a compact recursive proof and parsing it proves nothing. The complete ordered public inputs and prepared leaves are still required by verify_native_receipt(), which replays every transition and calls the final native decision. Its header pins the native basis and every response record carries the exact statement digest. Those fields can feed the separately qualified certificate-parent relation, but do not make this native transport a recursively verified proof.

Definition at line 533 of file certificate_nonce_parent_accumulation.hpp.

Member Function Documentation

◆ certificate_context_digest()

◆ create()

Result< CertificateNonceNativeReceipt > purify::puresign_plusplus::CertificateNonceNativeReceipt::create ( bppp::accumulation::Digest certificate_context_digest,
std::vector< CertificateNonceNativeResponse > responses,
std::vector< CertificateNonceTreeProof > tree_proofs )
staticnodiscard

◆ responses()

◆ tree_proofs()

std::span< const CertificateNonceTreeProof > purify::puresign_plusplus::CertificateNonceNativeReceipt::tree_proofs ( ) const
inlinenodiscardnoexcept

Field Documentation

◆ kHeaderSerializedSize

std::size_t purify::puresign_plusplus::CertificateNonceNativeReceipt::kHeaderSerializedSize = 88
staticconstexpr

◆ kReductionSerializedSize

std::size_t purify::puresign_plusplus::CertificateNonceNativeReceipt::kReductionSerializedSize = 890
staticconstexpr

◆ kResponseHeaderSerializedSize

std::size_t purify::puresign_plusplus::CertificateNonceNativeReceipt::kResponseHeaderSerializedSize = 33
staticconstexpr

Definition at line 537 of file certificate_nonce_parent_accumulation.hpp.

◆ kStepSerializedSize

std::size_t purify::puresign_plusplus::CertificateNonceNativeReceipt::kStepSerializedSize = 924
staticconstexpr

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