MultiPartyConfig#

class MultiPartyConfig#

A configuration of the Multi-Party setup via various parameters.

property aggregator_id#

The ID of the aggregator (see MultiPartyRole::MP_AGGREGATOR).

property initiator_id#

The IDs of the key-owners (see MultiPartyRole::MP_KEY_OWNER).

is_aggregator(self: pyhelayers.MultiPartyConfig) bool#

Whether this participant is the aggregator (see MultiPartyRole::MP_AGGREGATOR).

Return type:

boolean.

is_id_key_owner(self: pyhelayers.MultiPartyConfig, id: int) bool#

Whether the given ID is an ID of a key-owner (seeMultiPartyRole::MP_KEY_OWNER).

Parameters:

id (int.) – The ID to check.

Return type:

boolean.

is_initiator(self: pyhelayers.MultiPartyConfig) bool#

Whether this participant is the initiator (see MultiPartyRole::MP_INITIATOR).

Return type:

boolean.

is_key_owner(self: pyhelayers.MultiPartyConfig) bool#

Whether this participant is a key-owner (see MultiPartyRole::MP_KEY_OWNER).

Return type:

boolean.

property key_owners_ids#

The IDs of the key-owners (see MultiPartyRole::MP_KEY_OWNER).

num_key_owners(self: pyhelayers.MultiPartyConfig) int#

Returns the number of key-owners (see MultiPartyRole::MP_KEY_OWNER).

Return type:

int.

property participant_id#

Id of this participant.