CryptoPro TomCatSSL support moulde.
Public API.

ru.CryptoPro.TomCatSSL
Class JSSESocketFactory

java.lang.Object
  extended byorg.apache.tomcat.util.net.ServerSocketFactory
      extended byru.CryptoPro.TomCatSSL.JSSESocketFactory
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
JSSE13SocketFactory, JSSE14SocketFactory

public abstract class JSSESocketFactory
extends org.apache.tomcat.util.net.ServerSocketFactory

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

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

Constructor Summary
JSSESocketFactory()
           
 
Method Summary
 java.net.Socket acceptSocket(java.net.ServerSocket socket)
           
 java.net.ServerSocket createSocket(int port)
           
 java.net.ServerSocket createSocket(int port, int backlog)
           
 java.net.ServerSocket createSocket(int port, int backlog, java.net.InetAddress ifAddress)
           
 void handshake(java.net.Socket sock)
           
 
Methods inherited from class org.apache.tomcat.util.net.ServerSocketFactory
getDefault, initSocket, setAttribute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSSESocketFactory

public JSSESocketFactory()
Method Detail

createSocket

public java.net.ServerSocket createSocket(int port)
                                   throws java.io.IOException
Throws:
java.io.IOException

createSocket

public java.net.ServerSocket createSocket(int port,
                                          int backlog)
                                   throws java.io.IOException
Throws:
java.io.IOException

createSocket

public java.net.ServerSocket createSocket(int port,
                                          int backlog,
                                          java.net.InetAddress ifAddress)
                                   throws java.io.IOException
Throws:
java.io.IOException

acceptSocket

public java.net.Socket acceptSocket(java.net.ServerSocket socket)
                             throws java.io.IOException
Throws:
java.io.IOException

handshake

public void handshake(java.net.Socket sock)
               throws java.io.IOException
Throws:
java.io.IOException

Copyright Crypto-Pro.
All rights reserved.