diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-05-15 19:25:33 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-05-15 19:25:33 +0000 |
commit | 6d5b9881d73d1a5fbf99090fbd2f9aafb9b71165 (patch) | |
tree | 2843fd9501faa3ebfc6999ef7230562592a3ede8 /java/ssl/jdk1.5/IceSSL/ConnectionInfo.java | |
parent | thread pool changes to support Java5 SSL plugin (diff) | |
download | ice-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.java | 40 |
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; +} |