Retrieves a public CryptoKey from a JWK set based on the JWS header.
| Parameter | Type | Description |
|---|---|---|
jwks | Jwk[] | The set of JSON Web Keys. |
header | JwsHeaderParameters | The JWS header containing the algorithm and key ID. |
Promise<CryptoKey>
A promise that resolves to the CryptoKey.
If no applicable key or multiple keys are found or the algorithm is unsupported.