-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionUse
SocketFactoryCreator.connectWithHostnameChecking(SSLSocket, HostnameMismatchCallback)
instead. This class is not perfect as theHandshakeCompletedListener
is invoked (at least in reference JDK) in a separate thread, what can easily lead to a situation when the connection is opened and made available, before this implementation finishes checking.UseSocketFactoryCreator2
instead, which handles hostname verification in a safer way. Hostname verification provided in this class requires manual wiring and in certain server configuration may cause connection errors.
-
Deprecated MethodsMethodDescriptionuse other methods from this class.This method is not planned for removal but it is marked as deprecated as it is highly unreliable and you should update your code not to use openssl style DNs at allThis method is not planned for removal but it is marked as deprecated as it is highly unreliable and you should update your code not to use openssl style DNs at all
-
Deprecated Constructors
HostnameMismatchCallback2
and the related classes