TomInMemoryKeyStore class
Volatile TomKeyStore — keys live only for the session.
For tests and for any build with nowhere durable to put them. A run against it prompts for every key on every launch, which is exactly what "the keys were not persisted" means.
- Implemented types
Constructors
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
-
loadCollaborationDefaultKey(
) → Future< TomKeyMaterial?> -
The persisted default collaboration-file key, or null.
override
-
loadDefaultKey(
) → Future< TomKeyMaterial?> -
The persisted default document key, or null when none was saved.
override
-
loadOverrides(
) → Future< Map< String, TomKeyMaterial> > -
Every persisted per-file override, keyed by locator.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeOverride(
String locator) → Future< void> -
Removes the persisted override for
locator.override -
saveCollaborationDefaultKey(
TomKeyMaterial? material) → Future< void> -
Persists (or clears) the default collaboration-file key.
override
-
saveDefaultKey(
TomKeyMaterial? material) → Future< void> -
Persists (or clears, when
materialis null) the default document key.override -
saveOverride(
String locator, TomKeyMaterial material) → Future< void> -
Persists a per-file override for
locator.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited