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(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

constructor(bytes: ByteArray)

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

Types

Link copied to clipboard
object Companion

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
Link copied to clipboard
fun uniffiClonePointer(): Pointer