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:
- 2024-04-20
- 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:
get
in interfaceJWKSource<JWKSecurityContext>
- Parameters:
jwkSelector
- A JWK selector. Must not benull
.context
- Optional context,null
if not required.- Returns:
- The matching JWKs, empty list if no matches were found.
- Throws:
KeySourceException
- If key sourcing failed.
-