Keypackage

open class Keypackage : KeypackageProtocol, @unchecked Sendable

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.

  • Construct a new Keypackage from a byte array

    Declaration

    Swift

    public convenience init(bytes: Data) throws
  • Convert this to a reference

    Declaration

    Swift

    open func ref() throws -> KeypackageRef
  • Serialize this to a byte vector.

    Declaration

    Swift

    open func serialize() throws -> Data