summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-11-11 11:47:11 +0000
committerAdam Tkac <atkac@redhat.com>2010-11-11 11:47:11 +0000
commitea79b47cd24715c64871b8124921c392e4509214 (patch)
tree230475f9237ff5acf79a9cee3b1cf31a9011aac5 /java
parent0c4dcd29f5bc023d62d44f4592238340ce4c2c0d (diff)
downloadtigervnc-ea79b47cd24715c64871b8124921c392e4509214.tar.gz
tigervnc-ea79b47cd24715c64871b8124921c392e4509214.zip
[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
Diffstat (limited to 'java')
-rw-r--r--java/src/com/tigervnc/vncviewer/RfbProto.java16
1 files 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