The curve to create signatures on. This is fixed by RFC7518, as opposed to X.509 where other combinations are possible.
Tries to find a matching JWS algorithm
Tries to find a matching JWS algorithm.