Methods
[src]
pub fn find(self, key_id: string): Jwk? {
for (let jwk in self as [Jwk]) {
if (jwk.key_id == key_id) {
return jwk;
}
}
return nil;
}
Find the key in the set that matches the given key id, if any.
[src]
pub fn find(self, key_id: string): Jwk? {
for (let jwk in self as [Jwk]) {
if (jwk.key_id == key_id) {
return jwk;
}
}
return nil;
}
Find the key in the set that matches the given key id, if any.
Find the key in the set that matches the given key id, if any.