KeyPackage

A signed object describing a client's identity and capabilities.

Includes a public key that can be used to encrypt to that client. Other clients can use a client's KeyPackage to introduce that client to a new group.

Constructors

Link copied to clipboard
constructor(bytes: ByteArray)

Construct a new instance, transferring data from the client layer to Rust.

Functions

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

Get the raw bytes from this type, transferring data from Rust to the client layer.

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