org.apache.axis.components.net
Class JSSESocketFactory
- SecureSocketFactory, SocketFactory
public class JSSESocketFactory
SSL socket factory. It _requires_ a valid RSA key and
JSSE. (borrowed code from tomcat)
THIS CODE STILL HAS DEPENDENCIES ON sun.* and com.sun.*
- Davanum Srinivas (dims@yahoo.com)
protected SSLSocketFactory | sslFactory - Field sslFactory
|
Socket | create(String host, int port, StringBuffer otherHeaders, BooleanHolder useFullURL) - creates a secure socket
|
protected void | initFactory() - Initialize the SSLSocketFactory
|
sslFactory
protected SSLSocketFactory sslFactory
Field sslFactory
JSSESocketFactory
public JSSESocketFactory(Hashtable attributes)
Constructor JSSESocketFactory
attributes
-
create
public Socket create(String host,
int port,
StringBuffer otherHeaders,
BooleanHolder useFullURL)
throws Exception
creates a secure socket
- create in interface SocketFactory
- create in interface DefaultSocketFactory
host
- port
- otherHeaders
- useFullURL
-
- Socket
initFactory
protected void initFactory()
throws IOException
Initialize the SSLSocketFactory
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.