private void enableStrongerDefaults(Socket socket){
  if (isSecure(socket)) {
    SSLSocket sslSocket=(SSLSocket)socket;
    readSSLParameters(sslSocket);
    if (mEnableStongerDefaultProtocalVersion && mProtocols != null) {
      sslSocket.setEnabledProtocols(mProtocols);
    }
    if (mEnableStongerDefaultSSLCipherSuite && mCipherSuites != null) {
      sslSocket.setEnabledCipherSuites(mCipherSuites);
    }
  }
}

private void enableStrongerDefaults ( Socket socket ) { if ( isSecure ( socket ) ) { SSLSocket sslSocket = ( SSLSocket ) socket ; readSSLParameters ( sslSocket ) ; if ( mEnableStongerDefaultProtocalVersion && mProtocols != null ) { sslSocket . setEnabledProtocols ( mProtocols ) ; } if ( mEnableStongerDefaultSSLCipherSuite && mCipherSuites != null ) { sslSocket . setEnabledCipherSuites ( mCipherSuites ) ; } } }
defaults the ssl connection to use a strong cipher suite and tls version
