Active

class Active(val epoch: Long, val installedAt: Instant, publicKey: ByteArray) : LastDeviceRecoveryKeyStatus

A recovery key is registered: publicKey (32 bytes, public data), at epoch, installed at the server time installedAt (registration or the rotation that installed it; retries change neither).

Constructors

Link copied to clipboard
constructor(epoch: Long, installedAt: Instant, publicKey: ByteArray)

Properties

Link copied to clipboard
val epoch: Long
Link copied to clipboard
Link copied to clipboard

A copy of the active recovery public key.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun isKey(publicKey: ByteArray): Boolean

true if publicKey is the active recovery key.

Link copied to clipboard
open override fun toString(): String