Create a new SecretShare instance.
The ciphersuite to use
The participant identifier
The signing share
The VSS commitment
ReadonlyidentifierThe participant identifier of this SecretShare
ReadonlysigningSecret Key (signing share)
ReadonlycommitmentThe commitments to be distributed among signers
Verifies that a secret share is consistent with a verifiable secret sharing commitment, and returns the derived group info for the participant (their public verification share, and the group public key) if successful.
This ensures that this participant's share has been generated using the same mechanism as all other signing participants. Note that participants MUST ensure that they have the same view as all other participants of the commitment!
An implementation of vss_verify() from the spec.
This also implements derive_group_info() from the spec (which is very similar),
but only for this participant.
A tuple of [VerifyingShare, verifying key element]
Convert this SecretShare to a KeyPackage after verification.
The KeyPackage
Check equality with another SecretShare.
The other SecretShare
True if equal
Convert to string representation.
Debug string
A secret share generated by performing a (t-out-of-n) secret sharing scheme, generated by a dealer performing
generateWithDealer.nis the total number of shares andtis the threshold required to reconstruct the secret; in this case we use Shamir's secret sharing.As a solution to the secret polynomial f (a 'point'), the
identifieris the x-coordinate, and thevalueis the y-coordinate.To derive a FROST keypair, the receiver of the SecretShare must call
toKeyPackage(), which under the hood also performs validation.