Package | Description |
---|---|
org.forgerock.json.jose.jwk |
Classes and interfaces for creating and manipulating JWKs.
|
org.forgerock.json.jose.jwk.store |
This package contains classes to manage a JWKs URI.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Key> |
JWKSetParser.generateMapFromJWK(URL url)
Provides a Map of KeyId:Keys as indicated by the JWKSet's URL.
|
JWKSet |
JWKSetParser.jwkSet(URL url)
Provides a jwks set as indicated by the JWKSet's URL.
|
Map<String,Key> |
JWKSetParser.jwkSetToMap(JWKSet jwkSet)
Converts a supplied JWKSet into a map of key:values, where the keys are the keyIds and the
values are verification keys.
|
Key |
JWKLookup.lookup(String json,
KeyType keyType)
Lookup returns the key from the given json, under the assumption it's of the correct
keyType.
|
Modifier and Type | Method and Description |
---|---|
Promise<JWKSet,FailedToLoadJWKException> |
JwksStore.getLatestJwkSet()
Returns the latest non expired successfully loaded JWK Set.
|
Modifier and Type | Method and Description |
---|---|
JwksStore |
JwksStoreService.configureJwksStore(String uid,
Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl)
Deprecated.
Use
JwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock) with an explicit clock. |
JwksStore |
JwksStoreService.configureJwksStore(String uid,
Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl,
Clock clock)
Configure a JWKs store.
|
JWK |
JwksStore.findJwk(Algorithm algorithm,
KeyUse keyUse)
Search for a JWK that matches the algorithm and the key usage.
|
JWK |
JwksStore.findJwk(String kid)
Search for a JWK that matches the kid.
|
void |
JwksStore.reloadJwks()
Communicates with the configured server, attempting to download the latest JWKs for use.
|
void |
JwksStore.setJwkUrl(URL jwkUrl)
Update the JWKs URI.
|
Constructor and Description |
---|
JwksStore(Duration cacheTimeout,
Duration cacheMissCacheTime,
URL jwkUrl,
JWKSetParser jwkSetParser,
Clock clock)
Create a new JWKs store.
|
Copyright 2010-2022 ForgeRock AS.