DeviceAuthenticationKeyPair

class DeviceAuthenticationKeyPair(val publicKey: ByteArray, val privateKey: ByteArray)

The local device's authentication key pair: a 32-byte Ed25519 seed and the 32-byte Ed25519 public key. Created by ProtocolEngine.createDeviceAuthenticationKey. The private key never leaves the device; the server only gets publicKey. A plain class, so toString() never prints key bytes.

Constructors

Link copied to clipboard
constructor(publicKey: ByteArray, privateKey: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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