Uses of Class
org.forgerock.json.jose.exceptions.FailedToLoadJWKException
-
Packages that use FailedToLoadJWKException 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. -
-
Uses of FailedToLoadJWKException in org.forgerock.json.jose.jwk
Methods in org.forgerock.json.jose.jwk that return types with arguments of type FailedToLoadJWKException Modifier and Type Method Description Promise<JsonValue,FailedToLoadJWKException>
JWKSetParser. gatherHttpContentsAsync(URL url)
Uses the Client to gather HTTP information.Promise<JWKSet,FailedToLoadJWKException>
JWKSetParser. jwkSetAsync(URL url)
Provides a JWK set as indicated by the JWKSet's URL.Methods in org.forgerock.json.jose.jwk that throw FailedToLoadJWKException Modifier and Type Method Description JWKSet
JWKSetParser. jwkSet(URL url)
Deprecated.UseJWKSetParser.jwkSetAsync(URL)
instead.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. -
Uses of FailedToLoadJWKException in org.forgerock.json.jose.jwk.store
Methods in org.forgerock.json.jose.jwk.store that return types with arguments of type FailedToLoadJWKException Modifier and Type Method Description Promise<JwksStore,FailedToLoadJWKException>
JwksStoreService. configureJwksStoreAsync(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock)
Configure a JWKs store.Promise<JWK,FailedToLoadJWKException>
JwksStore. findJwkAsync(String kid)
Search asynchronously for a JWK that matches the kid.Promise<JWK,FailedToLoadJWKException>
JwksStore. findJwkAsync(Predicate<JWK> predicate)
Return the JWK matching the keyID with the algorithm and keyUse.Promise<JWK,FailedToLoadJWKException>
JwksStore. findJwkAsync(Algorithm algorithm, String keyUse)
Search asynchronously for a JWK that matches the algorithm and the key usage.Promise<JWKSet,FailedToLoadJWKException>
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.Promise<Void,FailedToLoadJWKException>
JwksStore. reloadJwksAsync()
Communicates with the configured server, attempting to download the latest JWKs for use.Promise<Void,FailedToLoadJWKException>
JwksStore. setJwkUrlAsync(URL jwkUrl)
Update the JWKs URI.Methods in org.forgerock.json.jose.jwk.store that throw FailedToLoadJWKException Modifier and Type Method Description JwksStore
JwksStoreService. configureJwksStore(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl)
Deprecated.UseJwksStoreService.configureJwksStore(String, Duration, Duration, URL, Clock)
with an explicit clock.JwksStore
JwksStoreService. configureJwksStore(String uid, Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, Clock clock)
Deprecated.JWK
JwksStore. findJwk(String kid)
Deprecated.UseJwksStore.findJwkAsync(String)
instead.JWK
JwksStore. findJwk(Algorithm algorithm, String keyUse)
Deprecated.UseJwksStore.findJwkAsync(String)
instead.void
JwksStore. reloadJwks()
Deprecated.UseJwksStore.reloadJwksAsync()
instead.void
JwksStore. setJwkUrl(URL jwkUrl)
Deprecated.UseJwksStore.setJwkUrlAsync(URL)
instead.Constructors in org.forgerock.json.jose.jwk.store that throw FailedToLoadJWKException Constructor Description JwksStore(Duration cacheTimeout, Duration cacheMissCacheTime, URL jwkUrl, JWKSetParser jwkSetParser, Clock clock)
Deprecated.It is recommended to useJwksStore.newJwksStore(Duration, Duration, URL, JWKSetParser, Clock)
.
-