SecretKey class
An ML-DSA-65 private key paired with an Ed25519 private key for creating and verifying quantum resistant digital signatures.
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inner → XdsaSecretKey
-
Available on SecretKey, provided by the SecretKeyInternal extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fingerprint(
) → Fingerprint - Returns a 256-bit unique identifier for this key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publicKey(
) → PublicKey - Retrieves the public counterpart of the secret key.
-
sign(
Uint8List message) → Signature - Creates a digital signature of the message.
-
toBytes(
) → Uint8List - Converts a secret key into a 64-byte array.
-
toDer(
) → Uint8List - Serializes a private key into a DER buffer.
-
toPem(
) → String - Serializes a private key into a PEM string.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited