iya-sts
    Preparing search index...

    Variable verifyWsSecuritySignature

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

    Type Declaration

      • (xml: any, opts: any): any
      • Verifies the WS-Security message signature in a SOAP envelope with the certificate the caller resolved from its KeyInfo — after every guard readWsSecuritySignature() applies. It answers rather than throws.

        Parameters

        • xml: any

          the SOAP envelope

        • opts: any

          certPem: the certificate (PEM or base64 DER) to verify with; required, because a key the document chose is no key at all

        Returns any

        the reading, with ok now meaning the signature value and every reference's digest verified; a refusal marked with its code