iya-sts
    Preparing search index...

    Variable decryptElement

    decryptElement: (xml: string, privateKeyPem: string, opts?: object) => any = ...

    Type Declaration

      • (xml: string, privateKeyPem: string, opts?: object): any
      • Decrypts an XML Encryption element with a private key, through common/crypto.js, with the artifact log injected.

        It answers rather than throws; see crypto.js.

        Parameters

        • xml: string

          the document holding the encrypted element

        • privateKeyPem: string

          the private key

        • Optionalopts: object

          the options crypto.js takes

        Returns any

        what crypto.js's decryptElement() answers