[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
diff --git a/java/src/com/tigervnc/vncviewer/RfbProto.java b/java/src/com/tigervnc/vncviewer/RfbProto.java
index 22cc113..dc7aa2e 100644
--- a/java/src/com/tigervnc/vncviewer/RfbProto.java
+++ b/java/src/com/tigervnc/vncviewer/RfbProto.java
@@ -47,10 +47,18 @@
// 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