IMLDSASigningKey<P extends IMLDSAVerificationKey> class abstract

Common interface every ML-DSA private key implements.

Implemented types
Implementers

Constructors

IMLDSASigningKey()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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(MLDSASigningParams signingParams) → MLDSASignature
override
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

Operators

operator ==(Object other) → bool
The equality operator.
inherited