iya-sts
    Preparing search index...
    sign: (message: any, options: any) => Result = ...

    Type Declaration

      • (message: any, options: any): Result
      • Signs a message (section 3.1). The parameters are exactly what the caller passed, in its order; alg is never added.

        Parameters

        • message: any

          the HTTP message

        • options: any

          { label, components, params, key, algorithm, fieldTypes }

        Returns Result

        { ok: true, label, algorithm, signatureInput, ... }, or a refusal