DVAppKeyStores class

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

choose({required String app, required String home, required String platform, required bool secretService, DVAppKeyStore androidKeystore(String app)?}) → DVAppKeyStore
The store for app on platform (linux, macos, windows, ...), given whether a Secret Service answers. Pure, so it can be tested for every machine from one.
describe(DVAppKeyStore store) → String
Where a key in store actually is, in words an operator can act on.
legacyFilePath({required String app, required String home}) → String
The file the key is kept in where no keyring answers -- and, on Android and iOS, where an earlier version kept it.
platform(String app, {String? home, bool? secretService, String? platform, DVAppKeyStore androidKeystore(String app)?}) → Future<DVAppKeyStore>
The store for app on this machine: the Secret Service when one answers, else the file under home (the user's by default). This is what a running application hands to DVAppKey.ensure at first start, so the key is generated per install and per user into custody the OS protects, and never held only in memory.