Pending
class Pending(val resetId: RecoveryKeyResetId, val requestedBy: DeviceAddress, val requestedAt: Instant, val eligibleAt: Instant, val recoveryKeyEpoch: Long, recoveryPublicKey: ByteArray) : RecoveryKeyResetStatus
A reset resetId requested by requestedBy at the server time requestedAt is pending. It can be completed from eligibleAt on (server time; nothing happens automatically then) and cancelled until it is completed. It replaces the recovery key recoveryPublicKey (32 bytes, public data) at recoveryKeyEpoch; that key stays authoritative, including for last-device recovery, until completion.
Constructors
Link copied to clipboard
constructor(resetId: RecoveryKeyResetId, requestedBy: DeviceAddress, requestedAt: Instant, eligibleAt: Instant, recoveryKeyEpoch: Long, recoveryPublicKey: ByteArray)
Properties
Functions
Link copied to clipboard
true if the server would accept a completion at now (by the server's clock).