keyIdentifier
The kid
(key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover.
var keyIdentifier: JWKIdentifier?
The structure of the kid
value is unspecified. When kid
values are used within a JWK Set, different keys within the JWK set should use distinct kid
values.
(One example in which different keys might use the same kid
value is if they have different kty
(key type) values but are considered to be equivalent alternatives by the application using them.)
The kid
value is a case-sensitive string.