Package com.nimbusds.jose.jwk.source
Class JWKSecurityContextJWKSet
- java.lang.Object
-
- com.nimbusds.jose.jwk.source.JWKSecurityContextJWKSet
-
- All Implemented Interfaces:
JWKSource<JWKSecurityContext>
public class JWKSecurityContextJWKSet extends Object implements JWKSource<JWKSecurityContext>
AJWKSourcebacked by keys found in theJWKSecurityContext.- Version:
- 2019-01-10
- Author:
- Rob Winch, Josh Cummings
-
-
Constructor Summary
Constructors Constructor Description JWKSecurityContextJWKSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JWK>get(JWKSelector jwkSelector, JWKSecurityContext context)Retrieves a list of JWKs matching the specified selector.
-
-
-
Constructor Detail
-
JWKSecurityContextJWKSet
public JWKSecurityContextJWKSet()
-
-
Method Detail
-
get
public List<JWK> get(JWKSelector jwkSelector, JWKSecurityContext context) throws KeySourceException
Retrieves a list of JWKs matching the specified selector.- Specified by:
getin interfaceJWKSource<JWKSecurityContext>- Parameters:
jwkSelector- A JWK selector. Must not benull.context- Optional context,nullif not required.- Returns:
- The matching JWKs, empty list if no matches were found.
- Throws:
KeySourceException- If key sourcing failed.
-
-