Uses of Class
com.revetsec.jose.RemoteJwksSource.Builder
Packages that use RemoteJwksSource.Builder
Package
Description
JSON Object Signing and Encryption: JWS signature verification and bounded RSA signing, JSON Web Keys and key sets, and JWT claims
validation (RFC 7515, RFC 7517, RFC 7519).
-
Uses of RemoteJwksSource.Builder in com.revetsec.jose
Methods in com.revetsec.jose that return RemoteJwksSource.BuilderModifier and TypeMethodDescriptionRemoteJwksSource.Builder.acknowledgeUnpatchedRuntime(@Nullable Boolean acknowledgeUnpatchedRuntime) Sets whether to allow a Java runtime below Revetsec's minimum for network I/O (17.0.3, or 18.0.1 on Java 18), whose TLS and certificate checks are exposed to CVE-2022-21449.RemoteJwksSource.Builder.allowInsecureLoopback(@Nullable Boolean allowInsecureLoopback) Sets whether plainhttpis allowed to a loopback address or to exactlylocalhost, for tests.Sets the clock for the time to live, cooldown, backoff and staleness.RemoteJwksSource.Builder.defaultTimeToLive(@Nullable Duration defaultTimeToLive) Sets the time a fetched key set is cached when its response has neithermax-agenorExpires.RemoteJwksSource.Builder.httpClient(@Nullable HttpClient httpClient) Sets the HTTP client to fetch with.RemoteJwksSource.Builder.maximumKeys(@Nullable Integer maximumKeys) Sets the most keys a key set may hold, counting every element of itskeysarray, usable or not.RemoteJwksSource.Builder.maximumResponseBytes(@Nullable Integer maximumResponseBytes) Sets the largest key set response body accepted, in bytes.RemoteJwksSource.Builder.maximumStaleness(@Nullable Duration maximumStaleness) Sets how long after it expires a key set may still answer for the keys it holds, while refreshes fail or are held back.RemoteJwksSource.Builder.maximumTimeToLive(@Nullable Duration maximumTimeToLive) Sets the longest time a fetched key set is cached, whatever its cache headers say.RemoteJwksSource.Builder.minimumTimeToLive(@Nullable Duration minimumTimeToLive) Sets the shortest time a fetched key set is cached, whatever its cache headers say.RemoteJwksSource.Builder.observer(@Nullable JoseObserver observer) Sets the observer that receives this source's events.RemoteJwksSource.Builder.outboundUriPolicy(@Nullable OutboundUriPolicy outboundUriPolicy) Sets the policy the URI must pass.RemoteJwksSource.Builder.requestTimeout(@Nullable Duration requestTimeout) Sets how long one fetch may take, which is also the deadline of a standalone call.RemoteJwksSource.Builder.unknownKeyRefreshCooldown(@Nullable Duration unknownKeyRefreshCooldown) Sets the shortest time between two refreshes that tokens with unknown key IDs trigger.static @NonNull RemoteJwksSource.BuilderStarts building a source for the key set aturi.