iya-sts
    Preparing search index...

    Variable decryptElementOffLoop

    decryptElementOffLoop: (xml: any, privateKeyPem: any, opts: any) => Promise<any> = decryptElementOffLoop

    Type Declaration

      • (xml: any, privateKeyPem: any, opts: any): Promise<any>
      • decryptElement(), with an HSM key's RSA-OAEP decryption or ECDH agreement made off the event loop. Any other key is decryptElement(), resolved.

        Parameters

        • xml: any

          the document holding the encrypted element

        • privateKeyPem: any

          the recipient's key: a PEM, a KeyObject, an HSM key or its reference

        • opts: any

          as for decryptElement()

        Returns Promise<any>

        a promise of decryptElement()'s answer