FROST Ed448 TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Class SignatureShare<C>

    A participant's signature share, which the coordinator will aggregate with all other signer's shares into the joint signature.

    Type Parameters

    Index

    Methods

    • Internal

      Create a new SignatureShare from a scalar.

      Type Parameters

      Parameters

      • ciphersuite: C
      • scalar: C["Scalar"]

      Returns SignatureShare<C>

    • Internal

      Convert to the underlying scalar value.

      Returns C["Scalar"]

    • Deserialize a SignatureShare from bytes.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • bytes: Uint8Array

        The serialized share bytes

      Returns SignatureShare<C>

      The deserialized signature share

      Error if deserialization fails

    • Serialize the SignatureShare to bytes.

      Returns Uint8Array

      The serialized share bytes

    • Internal

      Tests if a signature share issued by a participant is valid before aggregating it into a final joint signature to publish.

      This is the final step of verify_signature_share from the spec.

      Parameters

      • identifier: Identifier<C>

        The participant's identifier

      • groupCommitmentShare: GroupCommitmentShare<C>

        The participant's group commitment share

      • verifyingShare: VerifyingShare<C>

        The participant's verifying share (public key share)

      • lambdaI: C["Scalar"]

        The Lagrange coefficient for this participant

      • challenge: Challenge<C>

        The signature challenge

      Returns void

    • Returns a string representation of this SignatureShare.

      Returns string

    • Check equality with another SignatureShare.

      Parameters

      Returns boolean

      true if the shares are equal

    • Clone this SignatureShare.

      Returns SignatureShare<C>

      A new SignatureShare with the same value