Package org.bouncycastle.jsse.util
Class SNISocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.bouncycastle.jsse.util.CustomSSLSocketFactory
org.bouncycastle.jsse.util.SNISocketFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final ThreadLocal
<SNISocketFactory> protected final URL
Fields inherited from class org.bouncycastle.jsse.util.CustomSSLSocketFactory
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V> V
Calls aCallable
in a context where this class's staticgetDefault()
method will return thisSNISocketFactory
.protected Socket
protected BCSNIHostName
static SocketFactory
Signature matchesSSLSocketFactory.getDefault()
so that it can be used with e.g.Methods inherited from class org.bouncycastle.jsse.util.CustomSSLSocketFactory
createSocket, createSocket, createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuites
-
Field Details
-
threadLocal
-
url
-
-
Constructor Details
-
SNISocketFactory
-
-
Method Details
-
getDefault
Signature matchesSSLSocketFactory.getDefault()
so that it can be used with e.g. the "java.naming.ldap.factory.socket" property or similar.- See Also:
-
call
Calls aCallable
in a context where this class's staticgetDefault()
method will return thisSNISocketFactory
.- Throws:
Exception
-
configureSocket
- Overrides:
configureSocket
in classCustomSSLSocketFactory
-
getBCSNIHostName
-