diff options
Diffstat (limited to 'java/src/IceSSL/Plugin.java')
-rw-r--r-- | java/src/IceSSL/Plugin.java | 28 |
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); +} |