CanvasAnchorKeyCache class
In-memory cache of opened anchor secret keys for canvases.
Anchor keys are derived from the canvas-created message event the first time a canvas is encrypted or decrypted. Caching avoids re-deriving the key on every register write.
Cleared by TailscaleClient.logout() so cached keys never outlive the
database they were derived from.
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
-
clear(
) → void -
get(
String canvasId) → SecretKey? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
String canvasId, SecretKey key) → void -
remove(
String canvasId) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → CanvasAnchorKeyCache
-
final