summaryrefslogtreecommitdiff
path: root/java/ssl/jdk1.5/IceSSL/ConnectionInfo.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-05-15 19:25:33 +0000
committerMark Spruiell <mes@zeroc.com>2006-05-15 19:25:33 +0000
commit6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165 (patch)
tree2843fd9501faa3ebfc6999ef7230562592a3ede8 /java/ssl/jdk1.5/IceSSL/ConnectionInfo.java
parentthread pool changes to support Java5 SSL plugin (diff)
downloadice-6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165.tar.bz2
ice-6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165.tar.xz
ice-6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165.zip
adding SSL plugin for Java5
Diffstat (limited to 'java/ssl/jdk1.5/IceSSL/ConnectionInfo.java')
-rw-r--r--java/ssl/jdk1.5/IceSSL/ConnectionInfo.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/java/ssl/jdk1.5/IceSSL/ConnectionInfo.java b/java/ssl/jdk1.5/IceSSL/ConnectionInfo.java
new file mode 100644
index 00000000000..8e58d7edbaf
--- /dev/null
+++ b/java/ssl/jdk1.5/IceSSL/ConnectionInfo.java
@@ -0,0 +1,40 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package IceSSL;
+
+//
+// ConnectionInfo contains information that may be of use to a
+// CertificateVerifier or an application that wants information
+// about its peer.
+//
+public class ConnectionInfo
+{
+ //
+ // The certificate chain. This may be null if the peer did not
+ // supply a certificate. The peer's certificate (if any) is the
+ // first one in the chain.
+ //
+ public java.security.cert.Certificate[] certs;
+
+ //
+ // The name of the negotiated cipher.
+ //
+ public String cipher;
+
+ //
+ // The local TCP/IP host & port.
+ //
+ public java.net.InetSocketAddress localAddr;
+
+ //
+ // The remote TCP/IP host & port.
+ //
+ public java.net.InetSocketAddress remoteAddr;
+}