FileDocCategorySizeDatePackage
JSSEFactory.javaAPI DocApache Tomcat 6.0.141732Fri Jul 20 04:20:32 BST 2007org.apache.tomcat.util.net.jsse

JSSEFactory

public class JSSEFactory extends Object
Factory interface to construct components based on the JSSE version in use.
author
Bill Barker
author
Filip Hanik

Fields Summary
Constructors Summary
Methods Summary
public org.apache.tomcat.util.net.SSLSupportgetSSLSupport(java.net.Socket socket)
returns the SSLSupport attached to this socket.

        return new JSSESupport((SSLSocket)socket);
    
public org.apache.tomcat.util.net.SSLSupportgetSSLSupport(javax.net.ssl.SSLSession session)

        return new JSSESupport(session);
    
public org.apache.tomcat.util.net.ServerSocketFactorygetSocketFactory()
Returns the ServerSocketFactory to use.

        return new JSSESocketFactory();