< prev index next >

src/java.base/share/classes/sun/security/ssl/SSLContextImpl.java

Print this page

        

*** 547,559 **** serverDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30, ! ProtocolVersion.SSL20Hello }); supportedCipherSuites = getApplicableSupportedCipherSuites( supportedProtocols); serverDefaultCipherSuites = getApplicableEnabledCipherSuites( --- 547,557 ---- serverDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10 }); supportedCipherSuites = getApplicableSupportedCipherSuites( supportedProtocols); serverDefaultCipherSuites = getApplicableEnabledCipherSuites(
*** 598,610 **** static ProtocolVersion[] getSupportedProtocols() { return new ProtocolVersion[]{ ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30, ! ProtocolVersion.SSL20Hello }; } } /* --- 596,606 ---- static ProtocolVersion[] getSupportedProtocols() { return new ProtocolVersion[]{ ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10 }; } } /*
*** 617,628 **** private static final List<CipherSuite> clientDefaultCipherSuites; static { clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); } --- 613,623 ---- private static final List<CipherSuite> clientDefaultCipherSuites; static { clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ! ProtocolVersion.TLS10 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); }
*** 649,660 **** static { clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS11, ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); --- 644,654 ---- static { clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS11, ! ProtocolVersion.TLS10 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true);
*** 683,694 **** static { clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); } --- 677,687 ---- static { clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); }
*** 717,728 **** clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); } --- 710,720 ---- clientDefaultProtocols = getAvailableProtocols( new ProtocolVersion[] { ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10 }); clientDefaultCipherSuites = getApplicableEnabledCipherSuites( clientDefaultProtocols, true); }
*** 874,885 **** static ProtocolVersion[] getProtocols() { return new ProtocolVersion[]{ ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10, ! ProtocolVersion.SSL30 }; } protected CustomizedTLSContext() { if (reservedException != null) { --- 866,876 ---- static ProtocolVersion[] getProtocols() { return new ProtocolVersion[]{ ProtocolVersion.TLS13, ProtocolVersion.TLS12, ProtocolVersion.TLS11, ! ProtocolVersion.TLS10 }; } protected CustomizedTLSContext() { if (reservedException != null) {
< prev index next >