/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificatePinnerChainValidationTest.java | 67 .setSslSocketFactory(clientContext.getSocketFactory()) in pinRootNotPresentInChain() 74 server.useHttps(serverSslContext.getSocketFactory(), false); in pinRootNotPresentInChain() 122 .setSslSocketFactory(clientContext.getSocketFactory()) in pinIntermediatePresentInChain() 129 server.useHttps(serverSslContext.getSocketFactory(), false); in pinIntermediatePresentInChain() 181 .setSslSocketFactory(clientContext.getSocketFactory()) in unrelatedPinnedLeafCertificateInChain() 203 server.useHttps(serverSslContext.getSocketFactory(), false); in unrelatedPinnedLeafCertificateInChain() 254 .setSslSocketFactory(clientContext.getSocketFactory()) in unrelatedPinnedIntermediateCertificateInChain() 277 server.useHttps(serverSslContext.getSocketFactory(), false); in unrelatedPinnedIntermediateCertificateInChain()
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
D | SocketType.java | 53 final SSLSocketFactory clientFactory = clientContext.getSocketFactory(); in newJdkFactories() 54 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newJdkFactories() 63 final SSLSocketFactory clientFactory = clientContext.getSocketFactory(); in newConscryptFactories() 64 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 208 String[] cipherSuites = c.clientContext.getSocketFactory().getSupportedCipherSuites(); in test_SSLSocket_getSupportedCipherSuites_connect() 420 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake() 471 final SSLSocket client1 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() 483 final SSLSocket client2 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() 507 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_NoEnabledCipherSuites_Failure() 539 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake_noKeyStore() 567 (SSLSocket) clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake_noClientCertificate() 584 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_HandshakeCompletedListener() 669 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_HandshakeCompletedListener_RuntimeException() 689 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_getUseClientMode() [all …]
|
D | SSLContextTest.java | 175 tlsVersion, ((SSLSocket) (context.getSocketFactory().createSocket())) in test_SSLContext_init_correctProtocolVersionsEnabled() 194 expectedCipherSuites, sslContext.getSocketFactory().getDefaultCipherSuites()); in assertEnabledCipherSuites() 198 SSLSocket sslSocket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in assertEnabledCipherSuites() 465 SSLContext.getInstance(protocol).getSocketFactory(); in test_SSLContext_getSocketFactory() 468 SSLContext.getInstance(protocol).getSocketFactory(); in test_SSLContext_getSocketFactory() 479 SocketFactory sf = sslContext.getSocketFactory(); in test_SSLContext_getSocketFactory()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 513 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttps() 516 client.client().setSslSocketFactory(sslContext.getSocketFactory()); in connectViaHttps() 527 server.useHttps(sslContext.getSocketFactory(), false); in inspectHandshakeThroughoutRequestLifecycle() 530 client.client().setSslSocketFactory(sslContext.getSocketFactory()); in inspectHandshakeThroughoutRequestLifecycle() 556 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsReusingConnections() 561 SSLSocketFactory clientSocketFactory = sslContext.getSocketFactory(); in connectViaHttpsReusingConnections() 578 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsReusingConnectionsDifferentFactories() 583 client.client().setSslSocketFactory(sslContext.getSocketFactory()); in connectViaHttpsReusingConnectionsDifferentFactories() 598 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsWithSSLFallback() 614 server.useHttps(sslContext.getSocketFactory(), false); in connectViaHttpsWithSSLFallbackFailuresRecorded() [all …]
|
D | CallTest.java | 913 server.useHttps(sslContext.getSocketFactory(), false); in recoverFromTlsHandshakeFailure() 928 Arrays.asList(sslContext.getSocketFactory().getSupportedCipherSuites()); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled() 934 server.useHttps(sslContext.getSocketFactory(), false); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled() 938 new RecordingSSLSocketFactory(sslContext.getSocketFactory()); in recoverFromTlsHandshakeFailure_tlsFallbackScsvEnabled() 958 server.useHttps(sslContext.getSocketFactory(), false); in recoverFromTlsHandshakeFailure_Async() 976 server.useHttps(sslContext.getSocketFactory(), false); in noRecoveryFromTlsHandshakeFailureWhenTlsFallbackIsDisabled() 2034 server.useHttps(sslContext.getSocketFactory(), true); in proxyConnectOmitsApplicationHeaders() 2041 client.setSslSocketFactory(sslContext.getSocketFactory()); in proxyConnectOmitsApplicationHeaders() 2069 server.useHttps(sslContext.getSocketFactory(), true); in proxyAuthenticateOnConnect() 2079 client.setSslSocketFactory(sslContext.getSocketFactory()); in proxyAuthenticateOnConnect() [all …]
|
D | ConnectionReuseTest.java | 228 client.setSslSocketFactory(sslContext.getSocketFactory()); in enableHttp2() 231 server.useHttps(sslContext.getSocketFactory(), false); in enableHttp2()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 176 server.useHttps(sslContext.getSocketFactory(), false); in wssScheme() 177 client.setSslSocketFactory(sslContext.getSocketFactory()); in wssScheme() 184 server.useHttps(sslContext.getSocketFactory(), false); in httpsScheme() 185 client.setSslSocketFactory(sslContext.getSocketFactory()); in httpsScheme()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 130 return getSocketFactory(JDK_PROVIDER); in getJdkSocketFactory() 160 return setUseEngineSocket(getSocketFactory(getConscryptProvider()), useEngineSocket); in getConscryptSocketFactory() 167 private static SSLSocketFactory getSocketFactory(Provider provider) { in getSocketFactory() method in TestUtils 169 return clientContext.getSocketFactory(); in getSocketFactory()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | DefaultClientConnectionOperator.java | 132 final SocketFactory sf = schm.getSocketFactory(); in openConnection() 232 if (!(schm.getSocketFactory() instanceof LayeredSocketFactory)) { in updateSecureConnection() 238 final LayeredSocketFactory lsf = (LayeredSocketFactory) schm.getSocketFactory(); in updateSecureConnection()
|
/external/apache-http/android/src/android/net/http/ |
D | HttpsConnection.java | 111 private synchronized static SSLSocketFactory getSocketFactory() { in getSocketFactory() method in HttpsConnection 255 sslSock = (SSLSocket) getSocketFactory().createSocket( in openConnection() 289 sslSock = (SSLSocket) getSocketFactory().createSocket( in openConnection()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | CacheAdapterTest.java | 117 client.setSslSocketFactory(sslContext.getSocketFactory()); in get_httpsGet() 232 client.setSslSocketFactory(sslContext.getSocketFactory()); in put_httpsGet() 259 server.useHttps(sslContext.getSocketFactory(), false /* tunnelProxy */); in configureHttpsServer()
|
D | ResponseCacheTest.java | 259 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching() 266 c1.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCaching() 278 c2.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCaching() 337 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndRedirects() 350 client.setSslSocketFactory(sslContext.getSocketFactory()); in secureResponseCachingAndRedirects() 374 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 388 client.setSslSocketFactory(sslContext.getSocketFactory()); in secureResponseCachingAndProtocolRedirects() 1449 server.useHttps(sslContext.getSocketFactory(), false); in varyAndHttps() 1457 client.setSslSocketFactory(sslContext.getSocketFactory()); in varyAndHttps() 1985 server.useHttps(sslContext.getSocketFactory(), false); [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSSLCertificateSocketFactory.java | 19 return SSLSocketFactory.getSocketFactory(); in getHttpSocketFactory()
|
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
D | PlatformTest.java | 90 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in rootTrustIndex_notNull_viaSocketFactory() 104 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in trustManager()
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
D | Scheme.java | 133 public final SocketFactory getSocketFactory() { in getSocketFactory() method in Scheme
|
D | PlainSocketFactory.java | 69 public static PlainSocketFactory getSocketFactory() { in getSocketFactory() method in PlainSocketFactory
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | OkHttp.java | 42 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in prepare()
|
D | UrlConnection.java | 38 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in prepare()
|
D | OkHttpAsync.java | 57 SSLSocketFactory socketFactory = sslContext.getSocketFactory(); in prepare()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultHttpClient.java | 181 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); in createClientConnectionManager() 183 new Scheme("https", SSLSocketFactory.getSocketFactory(), 443)); in createClientConnectionManager()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
D | SSLSocketFactoryWrapper.java | 59 mFactory = sslcontext.getSocketFactory(); in SSLSocketFactoryWrapper()
|
/external/apache-http/src/org/apache/http/conn/ |
D | MultihomePlainSocketFactory.java | 73 public static MultihomePlainSocketFactory getSocketFactory() { in getSocketFactory() method in MultihomePlainSocketFactory
|
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 131 SSLSocket client = (SSLSocket) context.clientContext.getSocketFactory().createSocket( in create()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 249 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCaching() 255 c1.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCaching() 267 c2.setSSLSocketFactory(sslContext.getSocketFactory()); in secureResponseCaching() 327 server.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndRedirects() 337 client.client().setSslSocketFactory(sslContext.getSocketFactory()); in secureResponseCachingAndRedirects() 363 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 374 client.client().setSslSocketFactory(sslContext.getSocketFactory()); in secureResponseCachingAndProtocolRedirects() 1393 server.useHttps(sslContext.getSocketFactory(), false); in varyAndHttps() 1401 connection1.setSSLSocketFactory(sslContext.getSocketFactory()); in varyAndHttps() 1407 connection2.setSSLSocketFactory(sslContext.getSocketFactory()); in varyAndHttps()
|