comparison 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
comparison
equal deleted inserted replaced
508:d6c107dedb04 509:2eb4fa13b9ef
61 public static final String GUI_FRAME_HEIGHT = "GUI_FRAME_HEIGHT"; 61 public static final String GUI_FRAME_HEIGHT = "GUI_FRAME_HEIGHT";
62 public static final String GUI_NO_TAB = "GUI_NO_TAB"; 62 public static final String GUI_NO_TAB = "GUI_NO_TAB";
63 public static final String NO_CHECK_RUNNING = "NO_CHECK_RUNNING"; 63 public static final String NO_CHECK_RUNNING = "NO_CHECK_RUNNING";
64 public static final String START_MONITOR_THREAD = "START_MONITOR_THREAD"; 64 public static final String START_MONITOR_THREAD = "START_MONITOR_THREAD";
65 65
66 // public static final String SSL_TYPE = "TN5250J_SSL_TYPE";
67 public static final String SSL_TYPE = "-sslType"; 66 public static final String SSL_TYPE = "-sslType";
68 public static final String SSL_TYPE_NONE = "NONE"; 67 public static final String SSL_TYPE_NONE = "NONE";
69 public static final String SSL_TYPE_SSLv2 = "SSLv2"; 68 public static final String SSL_TYPE_TLSv12 = "TLSv1.2";
70 public static final String SSL_TYPE_SSLv3 = "SSLv3"; 69 public static final String SSL_TYPE_TLSv13 = "TLSv1.3";
71 public static final String SSL_TYPE_TLS = "TLS";
72 70
73 public static final String[] SSL_TYPES = {SSL_TYPE_NONE, 71 public static final String[] SSL_TYPES = {SSL_TYPE_NONE,
74 SSL_TYPE_SSLv2, 72 SSL_TYPE_TLSv12,
75 SSL_TYPE_SSLv3, 73 SSL_TYPE_TLSv13,
76 SSL_TYPE_TLS
77 }; 74 };
78 75
79 // Session JUMP Directions 76 // Session JUMP Directions
80 static final int JUMP_PREVIOUS = 0; 77 static final int JUMP_PREVIOUS = 0;
81 static final int JUMP_NEXT = 1; 78 static final int JUMP_NEXT = 1;