summaryrefslogtreecommitdiff
path: root/java/src/IceSSL/Plugin.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-04-13 21:20:25 +0000
committerMark Spruiell <mes@zeroc.com>2006-04-13 21:20:25 +0000
commit074bf1d6b113fffa7cf9df6433b90311f2199ea1 (patch)
treeaff0594b90bceb6f6786b81ebecbcb16e735bb5f /java/src/IceSSL/Plugin.java
parentSSL fix (diff)
downloadice-074bf1d6b113fffa7cf9df6433b90311f2199ea1.tar.bz2
ice-074bf1d6b113fffa7cf9df6433b90311f2199ea1.tar.xz
ice-074bf1d6b113fffa7cf9df6433b90311f2199ea1.zip
cleanup, refactoring, align with C++/C#
Diffstat (limited to 'java/src/IceSSL/Plugin.java')
-rw-r--r--java/src/IceSSL/Plugin.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/java/src/IceSSL/Plugin.java b/java/src/IceSSL/Plugin.java
new file mode 100644
index 00000000000..a4316453f62
--- /dev/null
+++ b/java/src/IceSSL/Plugin.java
@@ -0,0 +1,28 @@
+// **********************************************************************
+//
+// 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;
+
+public interface Plugin extends Ice.Plugin
+{
+ //
+ // Manually initialize the plugin. The application must set the property
+ // IceSSL.DelayInit=1 in order to use this method.
+ //
+ // It is legal to pass null as either argument, in which case the plugin
+ // obtains its certificates as directed by configuration properties.
+ //
+ void initialize(javax.net.ssl.SSLContext clientContext, javax.net.ssl.SSLContext serverContext);
+
+ //
+ // Establish the certificate verifier object. This should be
+ // done before any connections are established.
+ //
+ void setCertificateVerifier(CertificateVerifier verifier);
+}