@wireapp/core-crypto
    Preparing search index...

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

    Hierarchy

    • UniffiAbstractObject
      • Keypackage

    Implements

    Index

    Constructors

    • Construct a new Keypackage from a byte array

      Parameters

      • bytes: ArrayBuffer

      Returns Keypackage

    Properties

    "[destructorGuardSymbol]": UniffiRustArcPtr
    "[pointerLiteralSymbol]": bigint
    "[uniffiTypeNameSymbol]": "Keypackage"

    Methods

    • Serialize this to a byte vector.

      Returns ArrayBuffer

    • {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}

      Returns void

    • A convenience method to use this object, then destroy it after its use.

      Type Parameters

      • T

      Parameters

      • block: (obj: this) => T

      Returns T

    • Parameters

      • obj: any

      Returns obj is Keypackage