com.mysql.jdbc
public class ExportControlled extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected static boolean |
enabled() |
protected static void |
transformSocketToSSLSocket(MysqlIO mysqlIO)
Converts the socket being used in the given MysqlIO to an SSLSocket by
performing the SSL/TLS handshake.
|
protected static boolean enabled()
protected static void transformSocketToSSLSocket(MysqlIO mysqlIO) throws java.sql.SQLException
mysqlIO
- the MysqlIO instance containing the socket to convert to an
SSLSocket.CommunicationsException
- if the handshake fails, or if this distribution of
Connector/J doesn't contain the SSL crytpo hooks needed to
perform the handshake.java.sql.SQLException