DeviceAuthenticationRotationStatement
class DeviceAuthenticationRotationStatement(val address: DeviceAddress, currentPublicKey: ByteArray, replacementPublicKey: ByteArray, val expectedAuthEpoch: Long, val timestamp: Instant, val nonce: RequestNonce)
The transition a routine rotation asks for: address's registered key currentPublicKey at authentication epoch expectedAuthEpoch is to be replaced by replacementPublicKey. timestamp (whole milliseconds) and nonce make each statement single-use.
Constructors
Link copied to clipboard
constructor(address: DeviceAddress, currentPublicKey: ByteArray, replacementPublicKey: ByteArray, expectedAuthEpoch: Long, timestamp: Instant, nonce: RequestNonce)