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

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 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.