I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c1850cc4 authored by zzz's avatar zzz
Browse files

Utils: Enable TLSv1.3 for SSL sockets

(available in Java 11)
parent 399899e7
No related branches found
No related tags found
No related merge requests found
...@@ -132,13 +132,14 @@ public class I2PSSLSocketFactory { ...@@ -132,13 +132,14 @@ public class I2PSSLSocketFactory {
/** /**
* Java 7 does not enable 1.1 or 1.2 by default on the client side. * Java 7 does not enable 1.1 or 1.2 by default on the client side.
* Java 8 does enable 1.1 and 1.2 by default on the client side. * Java 8 does enable 1.1 and 1.2 by default on the client side.
* 1.3 in Java 11.
* ref: http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html * ref: http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html
* Unmodifiable. * Unmodifiable.
* Public for RouterConsoleRunner. * Public for RouterConsoleRunner.
* @since 0.9.16 * @since 0.9.16
*/ */
public static final List<String> INCLUDE_PROTOCOLS = Collections.unmodifiableList(Arrays.asList(new String[] { public static final List<String> INCLUDE_PROTOCOLS = Collections.unmodifiableList(Arrays.asList(new String[] {
"TLSv1", "TLSv1.1", "TLSv1.2" "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"
})); }));
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment