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

    Class KeypackageRef

    A lightweight distinct reference to a KeyPackage sufficient to uniquely identify it

    This contains some metadata to assist in sorting and filtering refs without needing to perform the relatively heavy operation of converting to a full keypackage.

    Hierarchy

    • UniffiAbstractObject
      • KeypackageRef

    Implements

    Index

    Properties

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

    Methods

    • Get the bytes of the hash reference to a [Keypackage]

      Returns ArrayBuffer

    • Determines whether this keypackage is valid in the sense of the former client_valid_keypackages_count method.

      In practice, this just checks whether its lifetime (if present) has expired or not.

      Returns boolean

    • {@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 KeypackageRef