Class SafeSSLSocketFactory

java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
io.ably.lib.transport.SafeSSLSocketFactory

public class SafeSSLSocketFactory extends SSLSocketFactory
This is a decorator for the SSLSocketFactory which modifies the enabled TLS protocols for each created SSLSocket to only use the protocols which are considered to be safe.

This class was created because the SSLContext.getInstance() method does not allow specifying precisely which TLS protocols can be used and which cannot.