Class SSLParametersUtils


  • public final class SSLParametersUtils
    extends java.lang.Object
    Utility class for SSL parameter operations in Jedis compatibility layer. Provides defensive copying methods to prevent mutable object exposure.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.net.ssl.SSLParameters copy​(javax.net.ssl.SSLParameters original)
      Creates a defensive copy of SSLParameters to prevent external modification.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • copy

        public static javax.net.ssl.SSLParameters copy​(javax.net.ssl.SSLParameters original)
        Creates a defensive copy of SSLParameters to prevent external modification. This method copies all relevant SSL configuration properties.
        Parameters:
        original - the original SSLParameters to copy, may be null
        Returns:
        a new SSLParameters instance with copied properties, or null if original is null