当前页面:
在线文档首页 >
JBoss 3.2.7 jaxrpc API Documentation 英文版文档
SunJSSESocketFactory (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档
org.apache.axis.components.net
Class SunJSSESocketFactory
java.lang.Object
org.apache.axis.components.net.DefaultSocketFactory
org.apache.axis.components.net.JSSESocketFactory
org.apache.axis.components.net.SunJSSESocketFactory
- All Implemented Interfaces:
- SecureSocketFactory, SocketFactory
- Direct Known Subclasses:
- SunFakeTrustSocketFactory
- public class SunJSSESocketFactory
- extends JSSESocketFactory
- implements SecureSocketFactory
SSL socket factory. It _requires_ a valid RSA key and
JSSE. (borrowed code from tomcat)
- Author:
- Davanum Srinivas (dims@yahoo.com)
Method Summary |
protected com.sun.net.ssl.SSLContext |
getContext()
gets a SSL Context |
protected void |
initFactory()
Read the keystore, init the SSL socket factory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SunJSSESocketFactory
public SunJSSESocketFactory(Hashtable attributes)
- Constructor JSSESocketFactory
- Parameters:
attributes
-
initFactory
protected void initFactory()
throws IOException
- Read the keystore, init the SSL socket factory
- Overrides:
initFactory
in class JSSESocketFactory
- Throws:
IOException
getContext
protected com.sun.net.ssl.SSLContext getContext()
throws Exception
- gets a SSL Context
- Returns:
- SSLContext
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.