Class JdbcThinSSLUtil
- java.lang.Object
-
- org.apache.ignite.internal.jdbc.thin.JdbcThinSSLUtil
-
public class JdbcThinSSLUtil extends Object
SSL utility method to create SSL connetion.
-
-
Field Summary
Fields Modifier and Type Field Description static char[]EMPTY_CHARSEmpty char array.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SSLSocketcreateSSLSocket(InetSocketAddress addr, ConnectionProperties connProps)
-
-
-
Method Detail
-
createSSLSocket
public static SSLSocket createSSLSocket(InetSocketAddress addr, ConnectionProperties connProps) throws SQLException
- Parameters:
addr- Connection address.connProps- Connection properties.- Returns:
- SSL socket.
- Throws:
SQLException- On connection error or reject.IOException- On IO error in handshake.
-
-