KeyRotator

interface KeyRotator

Evaluates whether the active encryption key is due for rotation and rotates it when needed.

Functions

Link copied to clipboard
abstract suspend fun rotateKeyIfNeeded(): Boolean

Rotates the active key if the configured rotation period has elapsed.