blob: 2c45d964d2dc9031865f2e4695ff572e43668231 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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);
}
|