Package com.nimbusds.jose.jwk.source
Class JWKSecurityContextJWKSet
java.lang.Object
com.nimbusds.jose.jwk.source.JWKSecurityContextJWKSet
- All Implemented Interfaces:
JWKSource<JWKSecurityContext>
A
JWKSource backed by keys found in the JWKSecurityContext.- Version:
- 2019-01-10
- Author:
- Rob Winch, Josh Cummings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(JWKSelector jwkSelector, JWKSecurityContext context) Retrieves a list of JWKs matching the specified selector.
-
Constructor Details
-
JWKSecurityContextJWKSet
public JWKSecurityContextJWKSet()
-
-
Method Details
-
get
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.
-