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

#include <certificate_nonce_parent_accumulation.hpp>

Public Member Functions

const CertificateNonceResponseFrame & frame () const noexcept
const bppp::accumulation::Digest & common_digest () const noexcept
const bppp::accumulation::Digest & response_digest () const noexcept
const bppp::accumulation::Digest & response_binding () const noexcept
std::span< const bppp::accumulation::Digest > member_digests () const noexcept

Static Public Member Functions

static Result< CertificateNonceResponseAuthorization > create (CertificateNonceResponseFrame frame, const accountable::NonceHostBoundSigningRoster &roster, const accountable::ConflictContext &context, std::span< const PublicKey > ordered_hosts, std::span< const unsigned char > canonical_body, const accountable::ScalarSignature &response, purify_secp_context *secp_context)

Detailed Description

Public authorization facts for one compact-certificate response.

Definition at line 42 of file certificate_nonce_parent_accumulation.hpp.

Member Function Documentation

◆ common_digest()

const bppp::accumulation::Digest & purify::puresign_plusplus::CertificateNonceResponseAuthorization::common_digest ( ) const
inlinenodiscardnoexcept

Definition at line 69 of file certificate_nonce_parent_accumulation.hpp.

Referenced by create().

◆ create()

Result< CertificateNonceResponseAuthorization > purify::puresign_plusplus::CertificateNonceResponseAuthorization::create ( CertificateNonceResponseFrame frame,
const accountable::NonceHostBoundSigningRoster & roster,
const accountable::ConflictContext & context,
std::span< const PublicKey > ordered_hosts,
std::span< const unsigned char > canonical_body,
const accountable::ScalarSignature & response,
purify_secp_context * secp_context )
staticnodiscard

Bind the response facts an application resolves without nonce proofs.

The full response digest binds the trace frame, scalar response, accountable context, roster, and ordered nonce hosts. The common digest omits individual roster entries. Per-member digests bind one exact roster entry and host to the full response so a recursive step need not absorb every member. None of these digests verifies a nonce proof or the scalar-response equation.

Definition at line 664 of file certificate_nonce_parent_accumulation.cpp.

References common_digest(), frame(), member_digests(), purify::accountable::NonceHostBoundSigningRoster::members(), PURIFY_RETURN_IF_ERROR, response_binding(), and response_digest().

Referenced by purify::puresign_plusplus::CertificateNonceParentPublicInputs::create().

◆ frame()

const CertificateNonceResponseFrame & purify::puresign_plusplus::CertificateNonceResponseAuthorization::frame ( ) const
inlinenodiscardnoexcept

◆ member_digests()

std::span< const bppp::accumulation::Digest > purify::puresign_plusplus::CertificateNonceResponseAuthorization::member_digests ( ) const
inlinenodiscardnoexcept

◆ response_binding()

const bppp::accumulation::Digest & purify::puresign_plusplus::CertificateNonceResponseAuthorization::response_binding ( ) const
inlinenodiscardnoexcept

◆ response_digest()

const bppp::accumulation::Digest & purify::puresign_plusplus::CertificateNonceResponseAuthorization::response_digest ( ) const
inlinenodiscardnoexcept

Definition at line 74 of file certificate_nonce_parent_accumulation.hpp.

Referenced by create().


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