diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-09-04 14:24:25 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-09-04 14:24:25 +0200 |
commit | a95c413fc360075c18ce907be5a2e02adaad3af8 (patch) | |
tree | a09602e20f0a0f814291cb0e491d07e615f2bc97 /java/jdk/1.5/IceSSL/Plugin.java | |
parent | -Updating the makedist.py scripts for the various language mappings to suppor... (diff) | |
download | ice-a95c413fc360075c18ce907be5a2e02adaad3af8.tar.bz2 ice-a95c413fc360075c18ce907be5a2e02adaad3af8.tar.xz ice-a95c413fc360075c18ce907be5a2e02adaad3af8.zip |
Added support for Java monotonic clock
Diffstat (limited to 'java/jdk/1.5/IceSSL/Plugin.java')
-rw-r--r-- | java/jdk/1.5/IceSSL/Plugin.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/java/jdk/1.5/IceSSL/Plugin.java b/java/jdk/1.5/IceSSL/Plugin.java new file mode 100644 index 00000000000..2c45d964d2d --- /dev/null +++ b/java/jdk/1.5/IceSSL/Plugin.java @@ -0,0 +1,36 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2007 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 +{ + // + // Establish the SSL context. This must be done before the + // plugin is initialized, therefore the application must define + // the property Ice.InitPlugins=0, set the context, and finally + // invoke initializePlugins on the PluginManager. + // + // When the application supplies its own SSL context, the + // plugin skips its normal property-based configuration. + // + void setContext(javax.net.ssl.SSLContext context); + + // + // Obtain the SSL context. Use caution when modifying this value. + // Changes made to this value have no effect on existing connections. + // + javax.net.ssl.SSLContext getContext(); + + // + // Establish the certificate verifier object. This should be + // done before any connections are established. + // + void setCertificateVerifier(CertificateVerifier verifier); +} |