| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Object | server_socket_factory_mutex
Monitor object to guard against concurrent modification of the underlying server socket factory implementation member. |
| pack-priv Object | serverSocketFactory
The underlying server socket factory implementation. |
| pack-priv final Object | socket_factory_mutex
Monitor object to guard against concurrent modification of the underlying socket factory implementation member. |
| pack-priv Object | socketFactory
The underlying socket factory implementation. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ServerSocket | Returns: the secure ServerSocketthe port to which to bind the secure ServerSocket port)Overrides org. Creates a secure server socket bound to the specified port. |
| public ServerSocket | Returns: the secure ServerSocketthe port to which to bind the secure ServerSocket port, String address)Overrides org. Creates a secure server socket bound to the specified port. |
| public Socket | Returns: the socketthe existing socket socket, String the server host host, int the server port port)Overrides org. if socket argument is not null, creates a secure Socket as a wrapper for the normal, non-SSL socket. |
| public Socket | Returns: the socketthe server host host, int the server port port)Overrides org. Creates a secure Socket and connects it to the specified remote host at the specified remote port. |
| private static void | |
| pack-priv SSLServerSocketFactory | Returns: the underlying javax.net.ssl.SSLServerSocketFactoryRetrieves the underlying javax.net.ssl.SSLServerSocketFactory. |
| pack-priv SSLSocketFactory | Returns: the underlying javax.net.ssl.SSLSocketFactoryRetrieves the underlying javax.net.ssl.SSLSocketFactory. |
| public void | handshakeCompleted(HandshakeCompletedEvent evt)
Implements javax. This method is invoked on registered objects when a SSL handshake is completed. |
| public boolean | Returns: true iff this factory creates secure socketsOverrides org. Retrieves whether this factory produces secure sockets. |
| pack-priv void | verify(String
the requested host name host, SSLSession SSLSession used on the connection to host session)Verifies the certificate chain presented by the server to which a secure Socket has just connected. |
| server_socket_factory_mutex | back to summary |
|---|---|
| pack-priv final Object server_socket_factory_mutex Monitor object to guard against concurrent modification of the underlying server socket factory implementation member. | |
| serverSocketFactory | back to summary |
|---|---|
| pack-priv Object serverSocketFactory The underlying server socket factory implementation. | |
| socket_factory_mutex | back to summary |
|---|---|
| pack-priv final Object socket_factory_mutex Monitor object to guard against concurrent modification of the underlying socket factory implementation member. | |
| socketFactory | back to summary |
|---|---|
| pack-priv Object socketFactory The underlying socket factory implementation. | |
| HsqlSocketFactorySecure | back to summary |
|---|---|
| pack-priv HsqlSocketFactorySecure() External construction disabled. New factory instances are retrieved through the newHsqlSocketFactory method instead. | |
| configureSocket | back to summary |
|---|---|
| public void configureSocket(Socket socket) Overrides org. | |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port) throws Exception Overrides org. Creates a secure server socket bound to the specified port. The socket is configured with the socket options given to this factory.
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, String address) throws Exception Overrides org. Creates a secure server socket bound to the specified port. The socket is configured with the socket options given to this factory.
| |
| createSocket | back to summary |
|---|---|
| public Socket createSocket(Socket socket, String host, int port) throws Exception Overrides org. if socket argument is not null, creates a secure Socket as a wrapper for the normal, non-SSL socket. If the socket is null, create a new secure socket. The secure socket is configured using the socket options established for this factory. | |
| createSocket | back to summary |
|---|---|
| public Socket createSocket(String host, int port) throws Exception Overrides org. 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. | |
| dump | back to summary |
|---|---|
| private static void dump(String title, String[] as) | |
| getServerSocketFactoryImpl | back to summary |
|---|---|
| pack-priv SSLServerSocketFactory getServerSocketFactoryImpl() Retrieves the underlying javax.net.ssl.SSLServerSocketFactory.
| |
| getSocketFactoryImpl | back to summary |
|---|---|
| pack-priv SSLSocketFactory getSocketFactoryImpl() Retrieves the underlying javax.net.ssl.SSLSocketFactory.
| |
| handshakeCompleted | back to summary |
|---|---|
| public void handshakeCompleted(HandshakeCompletedEvent evt) Implements javax. Doc from javax. This method is invoked on registered objects when a SSL handshake is completed. | |
| isSecure | back to summary |
|---|---|
| public boolean isSecure() Overrides org. Retrieves whether this factory produces secure sockets.
| |
| verify | back to summary |
|---|---|
| pack-priv void verify(String host, SSLSession session) throws Exception Verifies 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.
| |