fn alg_matches_kty(alg: Algorithm, kty: &str) -> bool
Whether alg can be verified with a key of JWK type kty.
alg
kty