iya-sts
    Preparing search index...
    hashData: (suite: Suite, jwk: any, proofConfig: any, unsecured: any) => Buffer = ...

    Type Declaration

      • (suite: Suite, jwk: any, proofConfig: any, unsecured: any): Buffer
      • Computes a JCS suite's hash data: H(JCS(proofConfig)) || H(JCS(unsecuredDocument)).

        Parameters

        • suite: Suite

          the cryptosuite

        • jwk: any

          the key, for the hash its curve is signed under

        • proofConfig: any

          the proof configuration

        • unsecured: any

          the unsecured document

        Returns Buffer

        the hash data