ClientId

A unique identifier for an MLS client.

Each app instance a user is running, such as desktop or mobile, is a separate client with its own client id. A single user may therefore have multiple clients. More information: https://messaginglayersecurity.rocks/mls-architecture/draft-ietf-mls-architecture.html#name-group-members-and-clients

Constructors

Link copied to clipboard
constructor(userId: Uuid, deviceId: DeviceId, domain: String)

Create a new client id.

Properties

Link copied to clipboard

Whether the current object has been destroyed and its reference is gone in the Rust side.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun copyBytes(): ByteArray

Copy the wrapped data into a new byte array.

Link copied to clipboard
open override fun deserialize(): DeserializedClientId

Copy the wrapped data into a direct representation of the <user-id>:<device-id>@<domain> format.

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int