create
fun create(current: DeviceAuthenticationKeyPair, replacement: DeviceAuthenticationKeyPair, address: DeviceAddress, expectedAuthEpoch: Long, timestamp: Instant, nonce: RequestNonce = RequestNonce.random()): DeviceAuthenticationRotationAuthorization
The statement for replacing current (registered for address at expectedAuthEpoch) with replacement, signed by both keys. timestamp is truncated to milliseconds. Throws IllegalArgumentException if both keys are the same.