KeyInventory

org.llm4s.agent.encryption.KeyInventory
See theKeyInventory companion object
@Experimental
final case class KeyInventory

What a store holds, by key (#3242): how many values are sealed under each key id, and how many are stored in plain. A key whose id is not in sealedWith seals nothing the scan visited, and can be dropped once every thread has been scanned; plaintext at 0 means EncryptionSettings.plaintextReads can be turned off. Add pages up with ++.

Attributes

Companion
object
Source
KeyRotation.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Both inventories together.

Both inventories together.

Attributes

Source
KeyRotation.scala
def keyIds: Set[KeyId]

The key ids that seal at least one value.

The key ids that seal at least one value.

Attributes

Source
KeyRotation.scala
def onlyUnder(keys: Set[KeyId]): Boolean

Whether every value is sealed under one of keys: none in plain, and none under another key.

Whether every value is sealed under one of keys: none in plain, and none under another key.

Attributes

Source
KeyRotation.scala

Attributes

Source
KeyRotation.scala

Attributes

Source
KeyRotation.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product