iya-sts
    Preparing search index...

    Variable encryptElement

    encryptElement: (xml: string, certPem: string, opts?: object) => string = ...

    Type Declaration

      • (xml: string, certPem: string, opts?: object): string
      • Encrypts an XML element with XML Encryption to a certificate's key, through common/crypto.js, with the artifact log injected.

        Parameters

        • xml: string

          the element

        • certPem: string

          the recipient's certificate

        • Optionalopts: object

          the cipher and key transport, and the options crypto.js takes

        Returns string

        what crypto.js's encryptElement() answers