@opentdf/sdk
    Preparing search index...

    Function verify

    • Verifies the signature of the assertion using the provided key.

      Parameters

      • thiz: Assertion
      • aggregateHash: Uint8Array
      • key: AssertionKey

        The key used for verification.

      • isLegacyTDF: boolean

      Returns Promise<void>

      A promise that resolves to a tuple containing the assertion hash and signature.

      If the verification fails.