Package-level declarations
Types
Lazily initialized holder for a platform cryptographic primitive (e.g. Tink Aead).
Holds the application Context required by Android's createPlatformCryptoStack to access Keystore-backed SharedPreferences.
Initializes platform crypto (key rotation + re-encrypt + post-init hooks) behind a mutex.
Lifecycle state of CryptoRuntime.
Handle for an encrypted store that can rewrite ciphertext under the current Cipher after key rotation (REQ-ROT-01).
Policy for automatic time-based key rotation in createPlatformCryptoStack.
Evaluates whether the active encryption key is due for rotation and rotates it when needed.
Bundle of platform-specific cryptographic primitives and lifecycle hooks consumed by CryptoRuntime.
Registry of encrypted stores to re-encrypt when KeyRotator.rotateKeyIfNeeded returns true.
Optional Cipher backed by Tink StreamingAead for large payloads (REQ-HRD-03).
Properties
Functions
Creates the default platform PlatformCryptoStack for appId.
Creates the default platform PlatformCryptoStack for appId.
Creates the default platform PlatformCryptoStack for appId.
Creates the default platform PlatformCryptoStack for appId.
Creates a standalone, in-memory StreamingAeadCipher with AES256_GCM_HKDF_1MB (REQ-HRD-03).