Persists a DpopKeyPair across app restarts.
Implementations must never store the private key in plaintext,
unencrypted storage (do not implement this on top of
SharedPreferences). Use SecureDpopKeyStore unless you have a strong,
specific reason to implement your own.
For multiple accounts/profiles, construct one DpopKeyStore instance per
account (see SecureDpopKeyStore's storageKey parameter) rather than
sharing a single global key across accounts.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → Future< void> - Deletes the saved key pair, if any.
-
load(
) → Future< DpopKeyPair?> -
Loads the previously saved key pair, or
nullif none exists yet. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
DpopKeyPair keyPair) → Future< void> -
Persists
keyPair, replacing any previously saved key pair. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited