DeviceRegistration

class DeviceRegistration(val address: DeviceAddress, publicKey: ByteArray)

Binds address to the public half of that device's authentication key (docs/server-authentication.md). The server verifies the device's authenticated requests with publicKey. Public data only.

The device authentication key is not the messaging identity key: it only authenticates the device to the KSecureMessage server and plays no part in X3DH, the Double Ratchet or identity pinning.

Constructors

Link copied to clipboard
constructor(address: DeviceAddress, publicKey: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard

A copy of the public key bytes.

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
open override fun toString(): String