SecureKeyStore class abstract interface

A platform secure enclave for secrets, addressed by name.

Properties

hashCode → int
The hash code for this object.
no setterinherited
label → String
A short human label for messages (e.g. macOS Keychain).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String name) → Future<void>
Removes name (no-op when absent).
isAvailable() → Future<bool>
Whether the backend is usable on this host (helper binary present, a Secret Service provider on the session bus, ...). False means the host falls back to environment-only keys — never an error.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String name) → Future<String?>
Returns the stored value for name, or null when absent.
toString() → String
A string representation of this object.
inherited
write(String name, String value) → Future<void>
Stores value under name, replacing any existing entry.

Operators

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