iya-sts
    Preparing search index...

    Variable verifyXmlSignature

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

    Type Declaration

      • (xml: any, opts: any): any
      • Verifies the signature on one named element and on no other, against the certificates the caller trusts. It answers rather than throws.

        Parameters

        • xml: any

          the document

        • opts: any

          element (which one), and certPem or publicKeyPem

        Returns any

        the verdict { ok, present, why, signatureValid, referencesValid, signatureMethod, … }, a refusal carrying its code