Class DefaultSSLSocketFactory
java.lang.Object
com.github.shyiko.mysql.binlog.network.DefaultSSLSocketFactory
- All Implemented Interfaces:
SSLSocketFactory
- Author:
- Stanley Shyiko
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultSSLSocketFactory
public DefaultSSLSocketFactory() -
DefaultSSLSocketFactory
- Parameters:
protocol- TLSv1, TLSv1.1 or TLSv1.2. Since JDK 11.0.11, TLSv1 and TLSv1.1 are no longer supported.
-
-
Method Details
-
createSocket
- Specified by:
createSocketin interfaceSSLSocketFactory- Throws:
SocketException
-
initSSLContext
- Throws:
GeneralSecurityException
-