iya-sts
    Preparing search index...

    Variable protectedHeaderFor

    protectedHeaderFor: (algorithm: any, options: any) => any = protectedHeaderFor

    Type Declaration

      • (algorithm: any, options: any): any
      • Builds the protected header the hand-rolled signers use: alg and kid set here, everything else in options.header merged.

        Parameters

        • algorithm: any

          the algorithm actually used

        • options: any

          header and keyid

        Returns any

        the header