jose.jwk
set_find(set, kid) -> key, err
set
kid
key
err
Find a key in a set by kid
The error for a kid the set lacks is the exact string unknown kid, the signal a relying party refetches its JWKS on.
unknown kid