StoreRegistry

Registry of encrypted stores to re-encrypt when KeyRotator.rotateKeyIfNeeded returns true.

Register stores during app startup (before concurrent CryptoRuntime.initialize). reEncryptAll runs handles sequentially so a failure fails closed (REQ-ROT-03).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun reEncryptAll()
Link copied to clipboard

Registers handle if not already present.

Link copied to clipboard
fun size(): Int

Test / diagnostics: number of registered handles.

Link copied to clipboard