Package com.ibm.di.security
Class SSL
- java.lang.Object
-
- com.ibm.di.security.SSL
-
public class SSL extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SSL()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.Socket
getClientSocket(java.lang.String host, int port)
static java.net.Socket
getClientSocketAuth(java.lang.String keystore, java.lang.String keypass, java.lang.String host, int port)
static java.net.ServerSocket
getServerSocket(int port)
-
-
-
Method Detail
-
getClientSocket
public static java.net.Socket getClientSocket(java.lang.String host, int port) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getClientSocketAuth
public static java.net.Socket getClientSocketAuth(java.lang.String keystore, java.lang.String keypass, java.lang.String host, int port) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getServerSocket
public static java.net.ServerSocket getServerSocket(int port) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-