iya-sts
    Preparing search index...

    Variable sealJweContent

    sealJweContent: (
        enc: any,
        cek: any,
        iv: any,
        aad: any,
        plaintext: any,
    ) => { ciphertext: any; tag: any } = sealJweContent

    Type Declaration

      • (
            enc: any,
            cek: any,
            iv: any,
            aad: any,
            plaintext: any,
        ): { ciphertext: any; tag: any }
      • Encrypts JWE content under a named enc.

        Parameters

        • enc: any

          the content encryption algorithm

        • cek: any

          the content encryption key

        • iv: any

          the initialization vector

        • aad: any

          the additional authenticated data

        • plaintext: any

          the plaintext

        Returns { ciphertext: any; tag: any }

        { ciphertext, tag }