electric.net.socket.ssl
Interface ISSLProvider

All Known Implementing Classes:
InstalledProvider, JSSERIProvider

public interface ISSLProvider

ISSLProvider implementations are responsible for building ssl socket factories. Since each combination of custom keystore and truststore requires a new factory, implementation should be careful about caching.

Author:
webMethods

Method Summary
 javax.net.ssl.SSLServerSocketFactory getSSLServerSocketFactory()
           
 javax.net.ssl.SSLServerSocketFactory getSSLServerSocketFactory(Context context)
          Create a server socket factory customized according to the context properties.
 javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
           
 javax.net.ssl.SSLSocketFactory getSSLSocketFactory(Context context)
          Create a socket factory customized according to the context properties.
 

Method Detail

getSSLSocketFactory

public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
Returns:
a default socket factory

getSSLSocketFactory

public javax.net.ssl.SSLSocketFactory getSSLSocketFactory(Context context)
Create a socket factory customized according to the context properties.

Parameters:
context -
Returns:
a matching socket factory

getSSLServerSocketFactory

public javax.net.ssl.SSLServerSocketFactory getSSLServerSocketFactory()
Returns:
a default server socket factory.

getSSLServerSocketFactory

public javax.net.ssl.SSLServerSocketFactory getSSLServerSocketFactory(Context context)
Create a server socket factory customized according to the context properties.

Parameters:
context -
Returns:
a matching server socket factory


copyright© 2001-2004 by webMethods All Rights Reserved.