KeypackageProtocol

public protocol KeypackageProtocol : AnyObject, 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.

  • Convert this to a reference

    Declaration

    Swift

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

    Declaration

    Swift

    func serialize() throws -> Data