diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-01-06 15:27:35 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-01-06 15:27:35 -0800 |
commit | 799ae412e223c9fd232df54c23e7abcdba4f9968 (patch) | |
tree | 35be16ebb9110c60a7e763166e2d02c635ea21a1 /java/src/IceSSL/Plugin.java | |
parent | another fix for bug 3628 (diff) | |
download | ice-799ae412e223c9fd232df54c23e7abcdba4f9968.tar.bz2 ice-799ae412e223c9fd232df54c23e7abcdba4f9968.tar.xz ice-799ae412e223c9fd232df54c23e7abcdba4f9968.zip |
- Another fix for bug 3628
- Porting IceSSL changes from Android branch
Diffstat (limited to 'java/src/IceSSL/Plugin.java')
-rw-r--r-- | java/src/IceSSL/Plugin.java | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/java/src/IceSSL/Plugin.java b/java/src/IceSSL/Plugin.java index 86ef11d74f8..7e7aabf5651 100644 --- a/java/src/IceSSL/Plugin.java +++ b/java/src/IceSSL/Plugin.java @@ -19,7 +19,7 @@ public interface Plugin extends Ice.Plugin // // When the application supplies its own SSL context, the // plug-in skips its normal property-based configuration. - // + // void setContext(javax.net.ssl.SSLContext context); // @@ -28,7 +28,7 @@ public interface Plugin extends Ice.Plugin // javax.net.ssl.SSLContext getContext(); - // + // // Establish the certificate verifier object. This should be // done before any connections are established. // @@ -51,4 +51,24 @@ public interface Plugin extends Ice.Plugin // callback is set. // PasswordCallback getPasswordCallback(); + + // + // Supplies an input stream for the keystore. Calling this method + // causes IceSSL to ignore the IceSSL.Keystore property. + // + void setKeystoreStream(java.io.InputStream stream); + + // + // Supplies an input stream for the truststore. Calling this method + // causes IceSSL to ignore the IceSSL.Truststore property. It is + // legal to supply the same input stream as setKeystoreStream, in + // which case IceSSL uses the certificates contained in the keystore. + // + void setTruststoreStream(java.io.InputStream stream); + + // + // Add an input stream for the random number seed. You may call + // this method multiple times if necessary. + // + void addSeedStream(java.io.InputStream stream); } |