registerDevice

abstract suspend fun registerDevice(registration: DeviceRegistration, signer: ServerRequestSigner)

Registers the device authentication public key of registration's address, signed with that key. Registering the same key again is harmless. Throws SecureMessageTransportException.DeviceRegistrationConflict if the server holds another key for the address.