Class RequestSignerCacheConfiguration.Builder

    • Method Detail

      • keyIdTimeToLive

        public RequestSignerCacheConfiguration.Builder keyIdTimeToLive​(Duration duration)
        Sets the time-to-live for key identifier cache entries.

        Supplying null clears the TTL and disables key identifier caching.

        Parameters:
        duration - The TTL duration, must be positive if provided.
        Returns:
        this builder.
      • privateKeyTimeToLive

        public RequestSignerCacheConfiguration.Builder privateKeyTimeToLive​(Duration duration)
        Sets the time-to-live for private key cache entries.

        Supplying null clears the TTL and disables private key caching.

        Parameters:
        duration - The TTL duration, must be positive if provided.
        Returns:
        this builder.