iya-sts
    Preparing search index...

    Variable readWsSecuritySignature

    readWsSecuritySignature: (xml: any) => any = readWsSecuritySignature

    Type Declaration

      • (xml: any): any
      • Reads the WS-Security message signature in a SOAP envelope without verifying it: which parts it covers, which certificate its KeyInfo names, its algorithms and its Timestamp. Every structural guard against signature wrapping is applied here, so a reading that is ok is one verifyWsSecuritySignature() can be asked about. It answers rather than throws.

        Parameters

        • xml: any

          the SOAP envelope

        Returns any

        { present: false } when the security header carries no signature; otherwise { present: true, ok, why, keyReference, timestamp: { created, expires }, signatureValue, references, signatureMethod, digestMethods }, a refusal marked with its code