Class Java7SslParametersUtils


  • final class Java7SslParametersUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void setAlgorithmConstraints​(javax.net.ssl.SSLParameters sslParameters, java.lang.Object algorithmConstraints)
      Utility method that is used by OpenSslEngine and so allow use not have any reference to AlgorithmConstraints in the code.
      (package private) static void setEndpointIdentificationAlgorithm​(javax.net.ssl.SSLParameters sslParameters, java.lang.String endpointIdentificationAlgorithm)
      Utility method for calling the setEndpointIdentitificationAlgorithm method, which was introduced in Java 7.
      • Methods inherited from class java.lang.Object

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

      • Java7SslParametersUtils

        private Java7SslParametersUtils()
    • Method Detail

      • setAlgorithmConstraints

        static void setAlgorithmConstraints​(javax.net.ssl.SSLParameters sslParameters,
                                            java.lang.Object algorithmConstraints)
        Utility method that is used by OpenSslEngine and so allow use not have any reference to AlgorithmConstraints in the code. This helps us to not get into trouble when using it in java version < 7 and especially when using on android.
      • setEndpointIdentificationAlgorithm

        static void setEndpointIdentificationAlgorithm​(javax.net.ssl.SSLParameters sslParameters,
                                                       java.lang.String endpointIdentificationAlgorithm)
        Utility method for calling the setEndpointIdentitificationAlgorithm method, which was introduced in Java 7.