]> source.dussan.org Git - tigervnc.git/commitdiff
[Development] java: Add VeNCrypt security types. (Martin Koegler)
authorAdam Tkac <atkac@redhat.com>
Thu, 11 Nov 2010 11:47:11 +0000 (11:47 +0000)
committerAdam Tkac <atkac@redhat.com>
Thu, 11 Nov 2010 11:47:11 +0000 (11:47 +0000)
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

index 22cc113941e1d9c5293438fe98de568b42db2890..dc7aa2e5dab2b44c3be74ac9da717546ae40dbb4 100644 (file)
@@ -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