Uses of Class
org.forgerock.json.jose.exceptions.FailedToLoadJWKException
Package
Description
Classes and interfaces for creating and manipulating JWKs.
This package contains classes to manage a JWKs URI.
-
Uses of FailedToLoadJWKException in org.forgerock.json.jose.jwk
Modifier and TypeMethodDescriptionJWKSetParser.gatherHttpContentsAsync
(URL url) Uses the Client to gather HTTP information.JWKSetParser.jwkSetAsync
(URL url) Provides a JWK set as indicated by the JWKSet's URL.Modifier and TypeMethodDescriptionDeprecated.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.Lookup returns the key from the given json, under the assumption it's of the correct keyType. -
Uses of FailedToLoadJWKException in org.forgerock.json.jose.jwk.store
Modifier and TypeMethodDescriptionJwksStoreService.configureJwksStoreAsync
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock) Configure a JWKs store.JwksStore.findJwkAsync
(String kid) Search asynchronously for a JWK that matches the kid.JwksStore.findJwkAsync
(Predicate<JWK> predicate) Return the JWK matching the keyID with the algorithm and keyUse.JwksStore.findJwkAsync
(Algorithm algorithm, String keyUse) Search asynchronously for a JWK that matches the algorithm and the key usage.JwksStore.getLatestJwkSet()
Returns the latest non expired successfully loaded JWK Set.static Promise<JwksStore,
FailedToLoadJWKException> JwksStore.newJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Create a new JWKs store asynchronously.JwksStore.reloadJwksAsync()
Communicates with the configured server, attempting to download the latest JWKs for use.JwksStore.setJwkUrlAsync
(URL jwkUrl) Update the JWKs URI.Modifier and TypeMethodDescriptionJwksStoreService.configureJwksStore
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl) Deprecated.UseJwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock)
with an explicit clock.JwksStoreService.configureJwksStore
(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock) Deprecated.Deprecated.UseJwksStore.findJwkAsync(String)
instead.Deprecated.UseJwksStore.findJwkAsync(String)
instead.void
JwksStore.reloadJwks()
Deprecated.UseJwksStore.reloadJwksAsync()
instead.void
Deprecated.UseJwksStore.setJwkUrlAsync(URL)
instead.ModifierConstructorDescriptionJwksStore
(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock) Deprecated.It is recommended to useJwksStore.newJwksStore(Duration, Duration, URL, JWKSetParser, Clock)
.
JWKSetParser.jwkSetAsync(URL)
instead.