iya-sts
    Preparing search index...

    Variable signBytes

    signBytes: (hash: any, data: any, key: any) => any = signBytes

    Type Declaration

      • (hash: any, data: any, key: any): any
      • Signs bytes with a private key (node's one-shot sign()).

        Parameters

        • hash: any

          sha256, sha384, sha512, or null for EdDSA and ML-DSA

        • data: any

          the bytes

        • key: any

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

        Returns any

        the signature

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