Searched refs:sslSocketFactory (Results 1 – 2 of 2) sorted by relevance
70 SSLSocketFactory sslSocketFactory = newSslSocketFactory(testSSLContext); in testConnectToHttps() local71 sslSocketFactory.setHostnameVerifier(new AllowAllHostnameVerifier()); in testConnectToHttps()73 .register(new Scheme("https", sslSocketFactory, server.getPort())); in testConnectToHttps()161 SSLSocketFactory sslSocketFactory = newSslSocketFactory(testSSLContext); in testConnectViaHttpProxyToHttps() local162 sslSocketFactory.setHostnameVerifier(new AllowAllHostnameVerifier()); in testConnectViaHttpProxyToHttps()164 .register(new Scheme("https", sslSocketFactory, 443)); in testConnectViaHttpProxyToHttps()
141 public void setSSLSocketFactory(SSLSocketFactory sslSocketFactory) { in setSSLSocketFactory() argument142 mConnection.setSSLSocketFactory(sslSocketFactory); in setSSLSocketFactory()