The keys a running session will try, by container.
Every encrypted container may use a different key: a default covers ordinary files and a per-file override is registered when the default is rejected. The surface is stated in TomKeyMaterial, so nothing above a composition root has to name a container library's types. A binding turns the material into that library's credentials and opens containers with it; TomMemoryKeyRegistry is the one for a build that opens none.
- Implementers
Properties
- hasDefault → bool
-
Whether a default key is registered.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
overriddenLocators
→ Iterable<
String> -
Every locator with a per-file key — session-only ones included, which no
key store knows about. What forgetting a location walks.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hasOverrideFor(
String locator) → bool -
newScope(
) → TomKeyRegistry - A second, empty registry of the same binding.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDefault(
TomKeyMaterial? material) → void -
Registers
materialas the default key, or clears it when null. -
registerKeyFor(
String locator, TomKeyMaterial material) → void -
Registers
materialas the key forlocator, ahead of the default. -
removeKeyFor(
String locator) → void -
Drops the per-file key for
locator, falling back to the default. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited