Changeset c1850cc for core


Ignore:
Timestamp:
Dec 11, 2018 11:19:36 AM (18 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
6f4d76e
Parents:
399899e7
Message:

Utils: Enable TLSv1.3 for SSL sockets
(available in Java 11)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/I2PSSLSocketFactory.java

    r399899e7 rc1850cc  
    133133     *  Java 7 does not enable 1.1 or 1.2 by default on the client side.
    134134     *  Java 8 does enable 1.1 and 1.2 by default on the client side.
     135     *  1.3 in Java 11.
    135136     *  ref: http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html
    136137     *  Unmodifiable.
     
    139140     */
    140141    public static final List<String> INCLUDE_PROTOCOLS = Collections.unmodifiableList(Arrays.asList(new String[] {
    141         "TLSv1", "TLSv1.1", "TLSv1.2"
     142        "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3"
    142143    }));
    143144
Note: See TracChangeset for help on using the changeset viewer.