iya-sts
    Preparing search index...

    Variable signingKeyFor

    signingKeyFor: (alg: any, useCaseId: any) => { key: any; kid: any; slot: any } = signingKeyFor

    Type Declaration

      • (alg: any, useCaseId: any): { key: any; kid: any; slot: any }
      • Finds the key that signs an algorithm a client chose: a pinned key first, then a signer-group key, then the realm's own.

        HMAC is not here; its key is the client's secret, which the caller passes itself.

        Parameters

        • alg: any

          the JWS algorithm

        • useCaseId: any

          the certificate-header use case, which decides the signer group

        Returns { key: any; kid: any; slot: any }

        the signer: its key and kid

        Error when this realm holds no key for the algorithm