Searched refs:getSocketFactory (Results 1 – 12 of 12) sorted by relevance
141 connection.setSSLSocketFactory(ctx.getSocketFactory()); in testHttpsConnection()174 connection.setSSLSocketFactory(ctx.getSocketFactory()); in testHttpsConnection_Not_Found_Response()201 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory()261 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetSSLSocketFactory()335 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testSetHostnameVerifier()371 connection.setSSLSocketFactory(getContext().getSocketFactory()); in test_doOutput()411 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testProxyConnection()460 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testProxyAuthConnection()494 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testConsequentProxyConnection()509 connection2.setSSLSocketFactory(getContext().getSocketFactory()); in testConsequentProxyConnection()[all …]
556 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in checkConnectViaHttps()561 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in checkConnectViaHttps()572 SSLSocketFactory clientSocketFactory = testSSLContext.clientContext.getSocketFactory(); in connectViaHttpsReusingConnections()574 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in connectViaHttpsReusingConnections()595 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in connectViaHttpsReusingConnectionsDifferentFactories()602 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in connectViaHttpsReusingConnectionsDifferentFactories()623 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in connectViaHttpsToUntrustedServer()628 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in connectViaHttpsToUntrustedServer()722 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in checkConnectViaDirectProxyToHttps()728 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in checkConnectViaDirectProxyToHttps()[all …]
78 this.sf = sslContext.getSocketFactory(); in setUp()
75 context.clientContext.getSocketFactory().createSocket(context.host, context.port); in connect()
337 public final SSLSocketFactory getSocketFactory() { in getSocketFactory() method in SSLContext
152 defaultSocketFactory = context.getSocketFactory(); in getDefault()
133 sslContext.getSocketFactory(); in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String()510 sslC[i].getSocketFactory()); in test_getServerSocketFactory()538 sslCi.getSocketFactory()); in test_getSocketFactory()
214 sslContext.getSocketFactory().createSocket().close(); in test_creationStressTest()220 sslContext.getSocketFactory().createSocket().close(); in test_creationStressTest()
79 sslC.getSocketFactory(); in checkSSLContext()
491 SSLSocket socket = (SSLSocket)sslContext.getSocketFactory().createSocket(); in run()
569 SSLSocket socket = (SSLSocket)clientSslContext.getSocketFactory().createSocket(); in run()
155 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main()