FROST secp256k1-TR (Taproot) TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Class SigningPackageImpl<C>

    Concrete implementation of SigningPackage with common traits (clone, equals, toString).

    This class wraps the signing commitments and message for a signing operation.

    Type Parameters

    Implements

    • SigningPackage<C>
    Index

    Constructors

    Properties

    ciphersuite: C

    The ciphersuite instance

    signingCommitments: Map<IdentifierLike<C>, SigningCommitmentsImpl<C>>

    The set of commitments participants published in the first round

    message: Uint8Array

    Message which each participant will sign

    Methods

    • Static factory method to create a new SigningPackage.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • signingCommitments: Map<IdentifierLike<C>, SigningCommitmentsImpl<C>>

        Map of identifier to signing commitments

      • message: Uint8Array

        The message to sign

      Returns SigningPackageImpl<C>

      A new SigningPackage instance

    • Check equality with another SigningPackage.

      Parameters

      Returns boolean

      True if equal

    • Returns a string representation of this SigningPackage.

      Returns string