StoredKey class
Represents information about a key stored in the KeyStore.
Constructors
- StoredKey.new({required KeyType keyType, required Uint8List privateKeyBytes})
- Creates a StoredKey instance.
-
StoredKey.fromJson(Map<
String, dynamic> json) -
Creates a StoredKey from a JSON map (for persistence).
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyType → KeyType
-
The cryptographic type of the key (e.g., p256, ed25519).
final
- privateKeyBytes → Uint8List
-
The private key bytes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this StoredKey to a JSON map (for persistence).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited