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

Experimental public key aggregation for one ordered coalition roster. More...

#include <accountable_roster.hpp>

Public Member Functions

std::span< const SigningRosterMember > members () const
 Members in their original order; effective weights include parity.
const std::array< unsigned char, 32 > & signing_key () const
 Canonical even-Y aggregate signing key for ConflictContext.
const std::array< unsigned char, 32 > & key_list_hash () const
 BIP327 key-list hash; this is NOT the authenticated Purify host commitment U.
bool aggregate_was_negated () const
 Whether the unnormalized weighted sum had odd Y.

Static Public Member Functions

static Result< SigningRoster > aggregate (std::span< const std::array< unsigned char, 33 > > ordered_public_keys, purify_secp_context *secp_context)

Detailed Description

This uses BIP327's untweaked KeyAgg calculation, with exact duplicate keys and zero coefficients rejected as coalition enrollment policy. Individual keys are compressed SEC1 points; the aggregate is normalized to even Y. No nonce protocol, member consent, host association, or signature security follows from constructing this object.

Definition at line 31 of file accountable_roster.hpp.

Member Function Documentation

◆ aggregate()

◆ aggregate_was_negated()

bool purify::accountable::SigningRoster::aggregate_was_negated ( ) const
inlinenodiscard

Definition at line 47 of file accountable_roster.hpp.

◆ key_list_hash()

const std::array< unsigned char, 32 > & purify::accountable::SigningRoster::key_list_hash ( ) const
inlinenodiscard

Definition at line 44 of file accountable_roster.hpp.

◆ members()

std::span< const SigningRosterMember > purify::accountable::SigningRoster::members ( ) const
inlinenodiscard

◆ signing_key()

const std::array< unsigned char, 32 > & purify::accountable::SigningRoster::signing_key ( ) const
inlinenodiscard

Definition at line 41 of file accountable_roster.hpp.

Referenced by purify::accountable::aggregate_responses().


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