|
purify
C++ Purify implementation with native circuit and BPP support
|
A nonce-host-bound roster with an authorized recovery-root relation. More...
#include <accountable_roster.hpp>
Public Member Functions | |
| const UInt512 & | recovery_root () const |
| Public Member Functions inherited from purify::accountable::NonceHostBoundSigningRoster | |
| const SigningRoster & | signing_roster () const noexcept |
| std::span< const SigningRosterMember > | members () const |
| const std::array< unsigned char, 32 > & | signing_key () const |
| const std::array< unsigned char, 32 > & | key_list_hash () const |
| bool | aggregate_was_negated () const |
| const CoalitionCoreDigest & | coalition_core_digest () const |
| const NonceHostCommitment & | nonce_host_commitment () const |
Friends | |
| class | VerifiedDistributedRecoverySetup |
| class | VerifiedConstructionReceipt |
| Result< RecoveryBoundSigningRoster > | verify_recovery_root_setup (NonceHostBoundSigningRoster roster, const UInt512 &recovery_root, const RecoveryRootSetupProof &proof, purify_secp_context *secp_context) |
This stronger capability is needed only by companion-key recovery and anchor escrow. Accountable nonce and response verification consume the base NonceHostBoundSigningRoster capability.
Definition at line 179 of file accountable_roster.hpp.
|
inlinenodiscard |
Definition at line 182 of file accountable_roster.hpp.
Referenced by purify::accountable::AnchorEscrowRecord::create_anchor_escrow_with_aux_randomness, purify::accountable::ConstructionLeafAccumulator::derive_parent_constants(), purify::accountable::ConstructionLeafAccumulator::prepare(), purify::accountable::recover_registered_root(), purify::accountable::serialize_accepted_construction_parent_witness(), purify::accountable::AnchorEscrowRecord::verify_anchor_escrow, and verify_recovery_root_setup.
|
friend |
Definition at line 199 of file accountable_roster.hpp.
References VerifiedConstructionReceipt.
Referenced by VerifiedConstructionReceipt.
|
friend |
Definition at line 198 of file accountable_roster.hpp.
References VerifiedDistributedRecoverySetup.
Referenced by VerifiedDistributedRecoverySetup.
|
friend |
Verify aggregate-key knowledge and the recovery-root relation.
The circuit wrapper's external-commitment proof establishes knowledge of the exact final aggregate signing scalar. The root relation derives the exact registered companion root from that same witness. This is the centralized constructor for RecoveryBoundSigningRoster; distributed contribution verification supplies the other constructor. Member consent is separate application policy.
Definition at line 1298 of file recovery_root.cpp.
References purify::EquationMismatch, PURIFY_ASSIGN_OR_RETURN, PURIFY_RETURN_IF_ERROR, recovery_root(), purify::require_secp_context(), and purify::unexpected_error().