IDkls23SigningKey<P extends BaseDkls23PublicKey<T> , S, T extends IPublicKey<IVerifiyingParams> > class
abstract
Common interface for a DKLs23 coordinator key holding the group's
shares as typed single-key secrets (secp256k1 / secp256r1
private keys, party order: secretKeys[i] is party i's share).
Signing rebuilds the native share records from these scalars plus
the aggregate key (P) metadata and runs a qualifying subset; T
is the member/aggregate key type flowing through verificationKey.
- Implemented types
- Implementers
Constructors
Properties
- curve → Dkls23Curve
-
Curve of this quorum.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretKeys
→ List<
S> -
Held share scalars as typed secrets, party order.
no setter
- threshold → int?
-
Threshold
tof this quorum (null= full quorum).no setter - type → CryptoKeyType
-
no setterinherited
Methods
-
dispose(
) → void -
Releases the native allocation and wipes owned key material.
Idempotent: safe to call twice.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
Dkls23SignParams params) → IECDSASignature -
override
-
takeSecretAt(
int index) → SecretBytes -
Read party
index's 32-byte share scalar (protected memory). -
takeSecretKey(
) → SecretBytes -
Returns the live secret key object (not a copy). Do not zero,
transform-destructively, or retain it past the key's dispose;
after dispose
inherited
-
toBytes(
{SecretTransform? transform}) → SecretBytes -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verificationKey(
) → P -
inherited
-
withRecordsBlob<
TRes> (List< int> indices, TRes use(BuBytes blob)) → TRes -
Run
usewith the framed native records forindices, wiping every secret copy afterwards. Advanced: sign uses this for the signing subset; refresh uses it for the full share set.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited