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 Keypackage from a byte array

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun ref(): KeypackageRef

Convert this to a reference

Link copied to clipboard
open override fun serialize(): ByteArray

Serialize this to a byte vector.

Link copied to clipboard
fun uniffiClonePointer(): Pointer