Home
last modified time | relevance | path

Searched refs:getSocketFactory (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java141 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 …]
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java556 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 …]
/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketBenchmark.java78 this.sf = sslContext.getSocketFactory(); in setUp()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java75 context.clientContext.getSocketFactory().createSocket(context.host, context.port); in connect()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLContext.java337 public final SSLSocketFactory getSocketFactory() { in getSocketFactory() method in SSLContext
DSSLSocketFactory.java152 defaultSocketFactory = context.getSocketFactory(); in getDefault()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContext1Test.java133 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()
DSSLSocketTest.java214 sslContext.getSocketFactory().createSocket().close(); in test_creationStressTest()
220 sslContext.getSocketFactory().createSocket().close(); in test_creationStressTest()
DSSLContext2Test.java79 sslC.getSocketFactory(); in checkSSLContext()
DHandshakeCompletedEventTest.java491 SSLSocket socket = (SSLSocket)sslContext.getSocketFactory().createSocket(); in run()
DSSLSessionTest.java569 SSLSocket socket = (SSLSocket)clientSslContext.getSocketFactory().createSocket(); in run()
/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java155 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main()