StoreRegistry
class 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).
Functions
Link copied to clipboard
Sequentially invokes EncryptedStoreHandle.reEncryptInPlace on all registered handles.
Link copied to clipboard
Registers handle if not already present.
Link copied to clipboard
Removes handle from the registry if present.