Package org.tn5250j.framework.transport
Interface SSLInterface
-
- All Known Implementing Classes:
SSLImplementation
public interface SSLInterface
-
-
Method Summary
Modifier and Type Method Description java.net.SocketcreateSSLSocket(java.lang.String destination, int port)Create a new socketvoidinit(java.lang.String sslType)Initialize the components required to create a new client socket when createSSLSocket is called.
-
-
-
Method Detail
-
init
void init(java.lang.String sslType)
Initialize the components required to create a new client socket when createSSLSocket is called.- Parameters:
sslType- The ssl socket type (SSLv2, SSLv3, TLS)
-
createSSLSocket
java.net.Socket createSSLSocket(java.lang.String destination, int port)Create a new socket- Parameters:
destination- a destinationport- a port to connect to- Returns:
- new socket, or null if none could be created.
-
-