| |
|
| java.lang.Object org.hsqldb.HsqlSocketFactory org.hsqldb.HsqlSocketFactorySecure
HsqlSocketFactorySecure | final public class HsqlSocketFactorySecure extends HsqlSocketFactory implements HandshakeCompletedListener(Code) | | The default secure socket factory implementation.
author: unsaved@users author: boucherb@users version: 1.7.2 since: 1.7.2 |
serverSocketFactory | protected Object serverSocketFactory(Code) | | The underlying server socket factory implementation.
|
server_socket_factory_mutex | final protected Object server_socket_factory_mutex(Code) | | Monitor object to guard against concurrent modification of
the underlying server socket factory implementation member.
|
socketFactory | protected Object socketFactory(Code) | | The underlying socket factory implementation.
|
socket_factory_mutex | final protected Object socket_factory_mutex(Code) | | Monitor object to guard against conncurrent modification
of the underlying socket factory implementation member.
|
HsqlSocketFactorySecure | protected HsqlSocketFactorySecure() throws Exception(Code) | | External construction disabled. New factory instances are retreived
through the newHsqlSocketFactory method instead.
|
configureSocket | public void configureSocket(Socket socket)(Code) | | |
createServerSocket | public ServerSocket createServerSocket(int port) throws Exception(Code) | | Creates a secure server socket bound to the specified port.
The socket is configured with the socket options
given to this factory.
the secure ServerSocket Parameters: port - the port to which to bind the secure ServerSocket throws: Exception - if a network or security provider error occurs |
createServerSocket | public ServerSocket createServerSocket(int port, String address) throws Exception(Code) | | Creates a secure server socket bound to the specified port.
The socket is configured with the socket options
given to this factory.
the secure ServerSocket Parameters: port - the port to which to bind the secure ServerSocket throws: Exception - if a network or security provider error occurs |
createSocket | public Socket createSocket(String host, int port) throws Exception(Code) | | Creates a secure Socket and connects it to the specified remote host
at the specified remote port. This socket is configured using the
socket options established for this factory.
the socket Parameters: host - the server host Parameters: port - the server port throws: Exception - if a network or security provider error occurs |
getServerSocketFactoryImpl | protected SSLServerSocketFactory getServerSocketFactoryImpl() throws Exception(Code) | | Retrieves the underlying javax.net.ssl.SSLServerSocketFactory.
throws: Exception - if there is a problem retrieving theunderlying factory the underlying javax.net.ssl.SSLServerSocketFactory |
getSocketFactoryImpl | protected SSLSocketFactory getSocketFactoryImpl() throws Exception(Code) | | Retrieves the underlying javax.net.ssl.SSLSocketFactory.
throws: Exception - if there is a problem retrieving theunderlying factory the underlying javax.net.ssl.SSLSocketFactory |
isSecure | public boolean isSecure()(Code) | | Retrieves whether this factory produces secure sockets.
true iff this factory creates secure sockets |
verify | protected void verify(String host, SSLSession session) throws Exception(Code) | | Verifyies the certificate chain presented by the server to which
a secure Socket has just connected. Specifically, the provided host
name is checked against the Common Name of the server certificate;
additional checks may or may not be performed.
Parameters: host - the requested host name Parameters: session - SSLSession used on the connection to host throws: Exception - if the certificate chain cannot be verified |
|
|
|