MonoCloud Authentication SDK
    Preparing search index...
    getPublicSigKeyFromIssuerJwks: (
        jwks: Jwk[],
        header: JwsHeaderParameters,
    ) => Promise<CryptoKey>

    Retrieves a public CryptoKey from a JWK set based on the JWS header.

    Type Declaration

      • (jwks: Jwk[], header: JwsHeaderParameters): Promise<CryptoKey>
      • Parameters

        • jwks: Jwk[]

          The set of JSON Web Keys.

        • header: JwsHeaderParameters

          The JWS header containing the algorithm and key ID.

        Returns Promise<CryptoKey>

        A promise that resolves to the CryptoKey.

    If no applicable key or multiple keys are found or the algorithm is unsupported.