iya-sts
    Preparing search index...

    Variable certificateHeaderForAsync

    certificateHeaderForAsync: (useCaseId: any, alg: any, kid: any) => Promise<{}> = certificateHeaderForAsync

    Type Declaration

      • (useCaseId: any, alg: any, kid: any): Promise<{}>
      • Builds the x5c or x5u header members for one signature, as certificateHeaderFor() does, but reads the store and asks for the key set to be certified first where the use case wants a header and the key has no certificate here yet.

        Never rejects; a key still uncertified is logged (STS-PKI-0227) and the answer carries no header.

        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 Promise<{}>

        a promise of the header members to merge