iya-sts
    Preparing search index...

    Variable parseProtectedHeader

    parseProtectedHeader: (parts: any) => any = ...

    Type Declaration

      • (parts: any): any
      • Parses and checks a JWS's protected header: alg, nonce, url and exactly one of jwk and kid, refusing the members that point at another key.

        Parameters

        • parts: any

          what parseFlattenedObject() returned

        Returns any

        { ok, header } or a refusal