TomMemoryKeyRegistry class

A TomKeyRegistry that holds key material and opens nothing.

For a build with no container codec — a browser build, for instance. A key prompt still works and the material is held for the session; there is simply no container for it to open.

Implemented types

Constructors

TomMemoryKeyRegistry()

Properties

hasDefault → bool
Whether a default key is registered.
no setteroverride
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 setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasOverrideFor(String locator) → bool
override
newScope() → TomKeyRegistry
A second, empty registry of the same binding.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDefault(TomKeyMaterial? material) → void
Registers material as the default key, or clears it when null.
override
registerKeyFor(String locator, TomKeyMaterial material) → void
Registers material as the key for locator, ahead of the default.
override
removeKeyFor(String locator) → void
Drops the per-file key for locator, falling back to the default.
override
toString() → String
A string representation of this object.
inherited

Operators

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