From ea79b47cd24715c64871b8124921c392e4509214 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Thu, 11 Nov 2010 11:47:11 +0000 Subject: [PATCH] [Development] java: Add VeNCrypt security types. (Martin Koegler) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4189 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tigervnc/vncviewer/RfbProto.java | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/java/src/com/tigervnc/vncviewer/RfbProto.java b/java/src/com/tigervnc/vncviewer/RfbProto.java index 22cc1139..dc7aa2e5 100644 --- a/java/src/com/tigervnc/vncviewer/RfbProto.java +++ b/java/src/com/tigervnc/vncviewer/RfbProto.java @@ -47,10 +47,18 @@ class RfbProto { // Security types final static int - SecTypeInvalid = 0, - SecTypeNone = 1, - SecTypeVncAuth = 2, - SecTypeTight = 16; + SecTypeInvalid = 0, + SecTypeNone = 1, + SecTypeVncAuth = 2, + SecTypeTight = 16, + SecTypeVeNCrypt = 19, + SecTypePlain = 256, + SecTypeTLSNone = 257, + SecTypeTLSVnc = 258, + SecTypeTLSPlain = 259, + SecTypeX509None = 260, + SecTypeX509Vnc = 261, + SecTypeX509Plain = 262; // Supported tunneling types final static int -- 2.39.5