| java.lang.Object com.mysql.jdbc.ExportControlled
ExportControlled | public class ExportControlled (Code) | | Holds functionality that falls under export-control regulations.
author: Mark Matthews version: $Id: ExportControlled.java,v 1.1.2.1 2005/05/13 18:58:38 mmatthews version: Exp $ |
Method Summary | |
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. |
enabled | protected static boolean enabled()(Code) | | |
transformSocketToSSLSocket | protected static void transformSocketToSSLSocket(MysqlIO mysqlIO) throws SQLException(Code) | | Converts the socket being used in the given MysqlIO to an SSLSocket by
performing the SSL/TLS handshake.
Parameters: mysqlIO - the MysqlIO instance containing the socket to convert to anSSLSocket. throws: CommunicationsException - if the handshake fails, or if this distribution ofConnector/J doesn't contain the SSL crytpo hooks needed toperform the handshake. |
|
|