iya-sts
    Preparing search index...

    Variable signatureValid

    signatureValid: (hash: any, data: any, key: any, signature: any) => any = signatureValid

    Type Declaration

      • (hash: any, data: any, key: any, signature: any): any
      • Checks a signature over bytes (node's one-shot verify()).

        Parameters

        • hash: any

          as for signBytes(), and sha1

        • data: any

          the bytes signed

        • key: any

          a public KeyObject, a PEM, or { key, dsaEncoding, padding, saltLength }

        • signature: any

          the signature

        Returns any

        true when it verifies

        Error for a hash outside the list, or what node throws