Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java142 connection.setSSLSocketFactory(ctx.getSocketFactory()); in testHttpsConnection()
175 connection.setSSLSocketFactory(ctx.getSocketFactory()); in testHttpsConnection_Not_Found_Response()
202 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory()
262 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetSSLSocketFactory()
336 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testSetHostnameVerifier()
372 connection.setSSLSocketFactory(getContext().getSocketFactory()); in test_doOutput()
412 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testProxyConnection()
461 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testProxyAuthConnection()
495 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testConsequentProxyConnection()
510 connection2.setSSLSocketFactory(getContext().getSocketFactory()); in testConsequentProxyConnection()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java560 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in checkConnectViaHttps()
565 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in checkConnectViaHttps()
576 SSLSocketFactory clientSocketFactory = testSSLContext.clientContext.getSocketFactory(); in connectViaHttpsReusingConnections()
578 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in connectViaHttpsReusingConnections()
599 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in connectViaHttpsReusingConnectionsDifferentFactories()
606 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in connectViaHttpsReusingConnectionsDifferentFactories()
627 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in connectViaHttpsToUntrustedServer()
632 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory()); in connectViaHttpsToUntrustedServer()
726 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false); in checkConnectViaDirectProxyToHttps()
732 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.java492 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.java141 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in main()
/libcore/api/
Dcurrent.txt19486 method public final javax.net.ssl.SSLSocketFactory getSocketFactory();