crypto/crypto/keys/frost/frost library

Classes

BaseFrostPublicKey<T extends IPublicKey<IVerifiyingParams>>
Base class for a FROST aggregate public key: the group key verifiers check the final threshold signature against, plus the member entries (id, key) of the quorum.
FrostEd25519PrivateKey
A FROST(Ed25519) coordinator key: threshold shares in position order, parallel FROST identifiers, and the aggregate public key. The sign behavior itself lives in IFrostSigningKey (verify_signing.dart).
FrostEd25519PublicKey
A FROST(Ed25519) group public key: group key + member entries + threshold.
FrostEdMember
One member entry: FROST identifier + share public key.
FrostK1Member
One member entry: FROST identifier + share public key.
FrostMember<T>
One FROST quorum member: participant identifier + share public key. Implemented by FrostK1Member / FrostEdMember; the typed key flowing through BaseFrostPublicKey.
FrostSecp256k1PrivateKey
A FROST(secp256k1) coordinator key: typed share secrets in position order, parallel FROST identifiers, and the aggregate public key — mirroring Musig2PrivateKey. The sign behavior itself lives in IFrostSigningKey (verify_signing.dart).
FrostSecp256k1PublicKey
A FROST(secp256k1) group public key: group key + member entries + threshold.
FrostSignature
Final FROST Schnorr signature: R (curve-encoded: 33-byte compressed secp256k1, 32-byte ed25519; RFC 9591 Appendix A) + z (32-byte scalar).
FrostSigningParams
Parameters for threshold signing.
FrostVerifyingParams
Parameters for verifying a final FROST signature.
IFrostSigningKey<P extends BaseFrostPublicKey<T>, S, T extends IPublicKey<IVerifiyingParams>>
Common interface for a FROST coordinator key holding the group's shares as typed secrets in position order, plus the parallel FROST participant identifiers. Signing orchestrates the protocol FrostApi backend directly (prepare → commit → sign → aggregate) over a qualifying subset; each backend handles its own secret math, the keys layer only moves bytes. T is the member/aggregate key type flowing through verificationKey.
IFrostVerificationKey
Common interface for a FROST aggregate public key: the group key verifiers check the final threshold signature against. The typed key material (aggKey / members) lives on BaseFrostPublicKey, which also implements verification.

Enums

FrostCurve
FROST threshold key-family curve selector (0 = secp256k1, 1 = Ed25519). Pure data: record/encoding curve tag shared by the keys layer.