public interface TlsSocketPlugin
| Modifier and Type | Method and Description |
|---|---|
default SSLSocket |
createSocket(Socket socket,
SSLSocketFactory sslSocketFactory)
Returns a socket layered over an existing socket negotiating the use of SSL over an existing
socket.
|
KeyManager[] |
getKeyManager(Configuration conf,
ExceptionFactory exceptionFactory) |
TrustManager[] |
getTrustManager(Configuration conf,
ExceptionFactory exceptionFactory) |
String |
type()
plugin type.
|
void |
verify(String host,
SSLSession sslSession,
long serverThreadId)
Host name verifier implementation.
|
String type()
TrustManager[] getTrustManager(Configuration conf, ExceptionFactory exceptionFactory) throws SQLException
SQLExceptionKeyManager[] getKeyManager(Configuration conf, ExceptionFactory exceptionFactory) throws SQLException
SQLExceptiondefault SSLSocket createSocket(Socket socket, SSLSocketFactory sslSocketFactory) throws IOException
socket - existing socketsslSocketFactory - SSL socket factoryIOException - if any socket error occurs.void verify(String host, SSLSession sslSession, long serverThreadId) throws SSLException
host - hostnamesslSession - ssl sessionserverThreadId - current server threadIdSSLException - if verification failCopyright © 2025 SingleStore. All rights reserved.