org.apache.tomcat.util.net.jsse
Class JSSE14SocketFactory

java.lang.Object
  extended byorg.apache.tomcat.util.net.ServerSocketFactory
      extended byorg.apache.tomcat.util.net.jsse.JSSESocketFactory
          extended byorg.apache.tomcat.util.net.jsse.JSSE14SocketFactory
All Implemented Interfaces:
java.lang.Cloneable

public class JSSE14SocketFactory
extends JSSESocketFactory

SSL server socket factory. It _requires_ a valid RSA key and JSSE.

Author:
Harish Prabandham, Costin Manolache, Stefan Freyr Stefansson, EKR -- renamed to JSSESocketFactory

Field Summary
 
Fields inherited from class org.apache.tomcat.util.net.jsse.JSSESocketFactory
clientAuth, enabledCiphers, initialized, sslProxy
 
Fields inherited from class org.apache.tomcat.util.net.ServerSocketFactory
attributes
 
Constructor Summary
JSSE14SocketFactory()
           
 
Method Summary
protected  javax.net.ssl.KeyManager[] getKeyManagers(java.lang.String keystoreType, java.lang.String algorithm)
          Gets the initialized key managers.
protected  javax.net.ssl.TrustManager[] getTrustManagers(java.lang.String keystoreType)
          Gets the intialized trust managers.
 
Methods inherited from class org.apache.tomcat.util.net.jsse.JSSESocketFactory
acceptSocket, createSocket, createSocket, createSocket, getEnabledCiphers, getKeystore, getKeystorePassword, getTrustStore, handshake
 
Methods inherited from class org.apache.tomcat.util.net.ServerSocketFactory
getDefault, initSocket, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSSE14SocketFactory

public JSSE14SocketFactory()
Method Detail

getKeyManagers

protected javax.net.ssl.KeyManager[] getKeyManagers(java.lang.String keystoreType,
                                                    java.lang.String algorithm)
                                             throws java.lang.Exception
Gets the initialized key managers.

Throws:
java.lang.Exception

getTrustManagers

protected javax.net.ssl.TrustManager[] getTrustManagers(java.lang.String keystoreType)
                                                 throws java.lang.Exception
Gets the intialized trust managers.

Throws:
java.lang.Exception


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.