CryptoRuntimeState

sealed interface CryptoRuntimeState

Lifecycle state of CryptoRuntime.

Inheritors

Types

Link copied to clipboard
data class Error(val cause: Throwable) : CryptoRuntimeState

CryptoRuntime.initialize failed with cause; subsequent calls to initialize() will retry.

Link copied to clipboard

Initial state before or during CryptoRuntime.initialize.

Link copied to clipboard

Key rotation, post-init, and store re-encryption succeeded; CryptoRuntime.cipher is ready.