iya-sts
    Preparing search index...

    Variable certificateHeaderFor

    certificateHeaderFor: (useCaseId: any, alg: any, kid: any) => {} = certificateHeaderFor

    Type Declaration

      • (useCaseId: any, alg: any, kid: any): {}
      • Builds the x5c or x5u header members for one signature by the ambient realm's key named by kid.

        The policy is jose_certificate_header.js's; this finds the key and its public half without touching a private key.

        Parameters

        • useCaseId: any

          a row of jose_certificate_header.js's use cases

        • alg: any

          the JWS algorithm

        • kid: any

          the signing key's kid

        Returns {}

        the header members to merge; {} for HMAC, a key this realm does not hold, or a use case that gets nothing