RecoveryKeyRevocationTransition

class RecoveryKeyRevocationTransition(val userId: UserId, expectedPublicKey: ByteArray, val expectedEpoch: Long, val expectedAuthorizer: DeviceRegistrationState, val revocationId: RecoveryKeyRevocationId, val nonce: RequestNonce, val timestamp: Instant, val pruneBefore: Instant, val now: Instant)

A verified recovery key revocation for LastDeviceRecoveryRepository.revokeRecoveryKey: revoke userId's key expectedPublicKey at expectedEpoch. The other fields as in RecoveryKeyRotationTransition; now becomes the revocation time.

Constructors

Link copied to clipboard
constructor(userId: UserId, expectedPublicKey: ByteArray, expectedEpoch: Long, expectedAuthorizer: DeviceRegistrationState, revocationId: RecoveryKeyRevocationId, nonce: RequestNonce, timestamp: Instant, pruneBefore: Instant, now: Instant)

Properties

Link copied to clipboard
Link copied to clipboard

A copy of the key the revocation removes.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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