diff app/src/main/java/org/tn5250j/TN5250jConstants.java @ 509:2eb4fa13b9ef

update 5250 encryption to allow TLS1.3, remove old SSLv2 and SSLv3 methods
author Carl Byington <carl@five-ten-sg.com>
date Sun, 29 Jan 2023 10:25:21 -0700
parents 8fa8e73e2f5c
children
line wrap: on
line diff
--- a/app/src/main/java/org/tn5250j/TN5250jConstants.java	Thu Nov 17 10:56:48 2022 -0700
+++ b/app/src/main/java/org/tn5250j/TN5250jConstants.java	Sun Jan 29 10:25:21 2023 -0700
@@ -63,17 +63,14 @@
     public static final String NO_CHECK_RUNNING = "NO_CHECK_RUNNING";
     public static final String START_MONITOR_THREAD = "START_MONITOR_THREAD";
 
-//   public static final String SSL_TYPE = "TN5250J_SSL_TYPE";
     public static final String SSL_TYPE = "-sslType";
     public static final String SSL_TYPE_NONE = "NONE";
-    public static final String SSL_TYPE_SSLv2 = "SSLv2";
-    public static final String SSL_TYPE_SSLv3 = "SSLv3";
-    public static final String SSL_TYPE_TLS = "TLS";
+    public static final String SSL_TYPE_TLSv12 = "TLSv1.2";
+    public static final String SSL_TYPE_TLSv13 = "TLSv1.3";
 
     public static final String[] SSL_TYPES = {SSL_TYPE_NONE,
-                                              SSL_TYPE_SSLv2,
-                                              SSL_TYPE_SSLv3,
-                                              SSL_TYPE_TLS
+                                              SSL_TYPE_TLSv12,
+                                              SSL_TYPE_TLSv13,
                                              };
 
     // Session JUMP Directions