iya-sts
    Preparing search index...

    Variable signWsSecurityMessage

    signWsSecurityMessage: (xml: any, opts: any) => any = signWsSecurityMessage

    Type Declaration

      • (xml: any, opts: any): any
      • Signs a SOAP envelope with a WS-Security message signature: a ds:Signature in its wsse:Security header, a Reference per id, exclusive canonicalization, and a SecurityTokenReference to the BinarySecurityToken the caller has put in that header.

        Parameters

        • xml: any

          the envelope, its wsse:Security header and token laid out

        • opts: any

          privateKey or privateKeyPem, sigAlg (a URI), ids (the wsu:Id of each part to sign), tokenId (the BinarySecurityToken's), after (the id of a header child to insert the signature after, else it goes last) and signatureId

        Returns any

        the signed envelope