case class FrostShareGenResult(ids: Vector[Long], shares: Vector[FieldElement], commitments: Vector[ECPublicKey]) extends Product with Serializable
Result of FROST trusted dealer key generation.
This class represents the output of the FROST key generation process where a trusted dealer generates secret shares for a threshold signing scheme. In a t-of-n threshold scheme, any t participants can collaborate to produce a valid signature, but fewer than t cannot.
The dealer generates:
- Secret shares for each of n participants
- VSS (Verifiable Secret Sharing) commitments that allow participants to verify their shares are consistent with the threshold public key
- A threshold public key that represents the aggregate signing key
Each participant receives:
- Their participant ID (from
ids) - Their secret share (from
shares) - The VSS commitments (public, same for all participants)
Participants can verify their share is valid using
FrostUtil.vssVerify(share, id, commitments).
- ids
participant identifiers (1-indexed, typically 1 to n)
- shares
secret shares for each participant (must be kept private by each participant)
- commitments
VSS commitments (public) that allow verification of shares. The number of commitments equals the threshold t.
- Alphabetic
- By Inheritance
- FrostShareGenResult
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FrostShareGenResult(ids: Vector[Long], shares: Vector[FieldElement], commitments: Vector[ECPublicKey])
- ids
participant identifiers (1-indexed, typically 1 to n)
- shares
secret shares for each participant (must be kept private by each participant)
- commitments
VSS commitments (public) that allow verification of shares. The number of commitments equals the threshold t.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val commitments: Vector[ECPublicKey]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val ids: Vector[Long]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val shares: Vector[FieldElement]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def threshold: Int
The threshold t (minimum number of signers required).
The threshold t (minimum number of signers required).
The threshold is determined by the number of VSS commitments generated during key generation.
- def toSigningContext(participantIds: Vector[Long], participantPubShares: Vector[ECPublicKey]): FrostSigningContext
Creates a signing context for a subset of participants.
Creates a signing context for a subset of participants.
This method constructs a
FrostSigningContextfor a specific signing session involving a subset of the participants. The signing context contains the information needed to produce a threshold signature, including:- Which participants are involved (must be at least threshold many)
- Their public key shares
- The threshold public key
The method verifies that:
- All participant IDs are valid (exist in the original key generation)
- All public key shares are consistent with the secret shares
- The number of participants meets the threshold requirement
- participantIds
the IDs of participants involved in this signing session (must contain at least
thresholdparticipants)- participantPubShares
the public key shares corresponding to each participant (computed as share * G)
- returns
a FrostSigningContext that can be used for signing
- Exceptions thrown
IllegalArgumentExceptionif participant IDs are invalid, public shares don't match, or counts don't match
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()