Does the JDK/JRE version alone determine the result of SSLSocket.getSupportedProtocols()? Or are there any other configuration/startup parameters that can impact this result?
For example, if an application is running on JDK 1.7 update 21, this method will return [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]. But if the app ran on JDK 1.8, which does not support SSLv3, would this method return only [TLSv1, TLSv1.1, TLSv1.2]?
And I assume the answer to this question applies to the default enabled list as well. For example, in JDK 1.7 update 21, SSLSocket.getEnabledProtocols() by default returns [SSLv3, TLSv1]. So with JDK 1.8, would the default enabled list be [TLSv1.1, TLSv1.2]?