iya-sts
    Preparing search index...

    Variable decryptJweCompactAsync

    decryptJweCompactAsync: (
        compact: any,
        opts: any,
    ) => Promise<{ header: any; plaintext: any }> = decryptJweCompactAsync

    Type Declaration

      • (compact: any, opts: any): Promise<{ header: any; plaintext: any }>
      • Decrypts a compact JWE, deriving a PBES2 key off the event loop. Takes the options decryptJweCompact() takes, and refuses what it refuses.

        Parameters

        • compact: any

          the compact JWE

        • opts: any

          as decryptJweCompact()

        Returns Promise<{ header: any; plaintext: any }>

        a promise of { header, plaintext }; it rejects where decryptJweCompact() throws