DeviceAuthenticationRotationResult
Result of SecureMessageClient.rotateDeviceAuthenticationKeyIfNeeded.
Inheritors
Types
Link copied to clipboard
data class NotNeeded(val status: DeviceAuthenticationRotationStatus) : DeviceAuthenticationRotationResult
The registered key is younger than the policy's maximum age; nothing changed.
Link copied to clipboard
A device recovery is pending; nothing was started or sent.
Link copied to clipboard
A pending routine rotation existed; it was completed (or found already applied by the server) with its existing key instead of starting a new one. The policy was not evaluated.
Link copied to clipboard
data class Rotated(val previous: DeviceAuthenticationRotationStatus) : DeviceAuthenticationRotationResult
The key was due and has been rotated. previous is the status of the replaced key.