iya-sts
    Preparing search index...

    Variable encryptToJwe

    encryptToJwe: (plaintext: any, encryption: any) => string = ...

    Type Declaration

      • (plaintext: any, encryption: any): string
      • Encrypts a response as a compact JWE: RSA-OAEP-256 or ECDH-ES for the content key, AES-GCM for the content, DEF first when asked.

        Parameters

        • plaintext: any

          the response

        • encryption: any

          the wallet's key, enc and zip

        Returns string

        the compact JWE