/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-jmh/src/jmh/java/org/conscrypt/ |
D | OpenJdkEndpointFactory.java | 57 final SSLSocketFactory clientFactory = clientContext.getSocketFactory(); in newJdkFactories() 58 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newJdkFactories() 67 final SSLSocketFactory clientFactory = clientContext.getSocketFactory(); in newConscryptFactories() 68 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 196 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake() 254 final SSLSocket client1 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() 266 final SSLSocket client2 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() 290 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_NoEnabledCipherSuites_Failure() 325 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake_noKeyStore() 359 (SSLSocket) clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake_noClientCertificate() 382 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_HandshakeCompletedListener() 490 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_HandshakeCompletedListener_RuntimeException() 521 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_getUseClientMode() 568 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_setUseClientMode() [all …]
|
D | SSLSocketTest.java | 169 String[] cipherSuites = c.clientContext.getSocketFactory().getSupportedCipherSuites(); in test_SSLSocket_getSupportedCipherSuites_connect() 264 SSLSocket ssl = (SSLSocket) context.getSocketFactory().createSocket(); in test_SSLSocket_setEnabledCipherSuites_TLS12() 298 SSLSocketFactory sf = context.getSocketFactory(); in test_SSLSocket_setEnabledCipherSuites_TLS13() 398 clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_noncontiguousProtocols_useLower() 430 clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_noncontiguousProtocols_canNegotiate() 476 (SSLSocket) referenceContext.clientContext.getSocketFactory().createSocket(); in test_SSLSocket_getHandshakeSession_duringHandshake() 538 (SSLSocket) clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_getHandshakeSession_duringHandshake() 580 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_untrustedServer() 829 sslContext.getSocketFactory())); in getSSLSocketFactoriesToTest() 837 final SSLSocket client = (SSLSocket) context.clientContext.getSocketFactory().createSocket( in test_SSLSocket_sendsTlsFallbackScsv_Fallback_Success() [all …]
|
D | SSLContextTest.java | 189 ((SSLSocket) context.getSocketFactory().createSocket()).getEnabledProtocols()); in test_SSLContext_init_correctProtocolVersionsEnabled() 208 expectedCipherSuites, sslContext.getSocketFactory().getDefaultCipherSuites()); in assertEnabledCipherSuites() 212 SSLSocket sslSocket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in assertEnabledCipherSuites() 512 SSLContext.getInstance(protocol).getSocketFactory(); in test_SSLContext_getSocketFactory() 515 SSLContext.getInstance(protocol).getSocketFactory(); in test_SSLContext_getSocketFactory() 526 SocketFactory sf = sslContext.getSocketFactory(); in test_SSLContext_getSocketFactory()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 194 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake() 252 final SSLSocket client1 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() 264 final SSLSocket client2 = (SSLSocket) c.clientContext.getSocketFactory().createSocket( in test_SSLSocket_confirmSessionReuse() 288 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_NoEnabledCipherSuites_Failure() 323 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake_noKeyStore() 357 (SSLSocket) clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_startHandshake_noClientCertificate() 380 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_HandshakeCompletedListener() 488 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_HandshakeCompletedListener_RuntimeException() 519 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_getUseClientMode() 566 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_setUseClientMode() [all …]
|
D | SSLSocketTest.java | 165 String[] cipherSuites = c.clientContext.getSocketFactory().getSupportedCipherSuites(); in test_SSLSocket_getSupportedCipherSuites_connect() 260 SSLSocket ssl = (SSLSocket) context.getSocketFactory().createSocket(); in test_SSLSocket_setEnabledCipherSuites_TLS12() 294 SSLSocketFactory sf = context.getSocketFactory(); in test_SSLSocket_setEnabledCipherSuites_TLS13() 394 clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_noncontiguousProtocols_useLower() 426 clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_noncontiguousProtocols_canNegotiate() 472 (SSLSocket) referenceContext.clientContext.getSocketFactory().createSocket(); in test_SSLSocket_getHandshakeSession_duringHandshake() 530 clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_getHandshakeSession_duringHandshake() 571 (SSLSocket) c.clientContext.getSocketFactory().createSocket(c.host, c.port); in test_SSLSocket_untrustedServer() 820 sslContext.getSocketFactory())); in getSSLSocketFactoriesToTest() 828 final SSLSocket client = (SSLSocket) context.clientContext.getSocketFactory().createSocket( in test_SSLSocket_sendsTlsFallbackScsv_Fallback_Success() [all …]
|
D | SSLContextTest.java | 185 tlsVersion, ((SSLSocket) context.getSocketFactory().createSocket()) in test_SSLContext_init_correctProtocolVersionsEnabled() 205 expectedCipherSuites, sslContext.getSocketFactory().getDefaultCipherSuites()); in assertEnabledCipherSuites() 209 SSLSocket sslSocket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in assertEnabledCipherSuites() 500 SSLContext.getInstance(protocol).getSocketFactory(); in test_SSLContext_getSocketFactory() 503 SSLContext.getInstance(protocol).getSocketFactory(); in test_SSLContext_getSocketFactory() 514 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 …]
|
/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/apache-http/android/src/android/net/http/ |
D | HttpsConnection.java | 104 mSslSocketFactory = sslContext.getSocketFactory(); in initializeEngine() 113 private synchronized static SSLSocketFactory getSocketFactory() { in getSocketFactory() method in HttpsConnection 257 sslSock = (SSLSocket) getSocketFactory().createSocket( in openConnection() 291 sslSock = (SSLSocket) getSocketFactory().createSocket( in openConnection()
|
/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/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
D | AndroidEndpointFactory.java | 57 final SSLSocketFactory clientFactory = clientContext.getSocketFactory(); in newConscryptFactories() 58 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories()
|
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
D | AndroidEndpointFactory.java | 55 final SSLSocketFactory clientFactory = clientContext.getSocketFactory(); in newConscryptFactories() 56 final SSLSocketFactory serverFactory = serverContext.getSocketFactory(); in newConscryptFactories()
|
/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/okhttp/android/src/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/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
D | TestUtils.java | 280 return getSocketFactory(JDK_PROVIDER); in getJdkSocketFactory() 324 return setUseEngineSocket(getSocketFactory(getConscryptProvider()), useEngineSocket); in getConscryptSocketFactory() 331 private static SSLSocketFactory getSocketFactory(Provider provider) { in getSocketFactory() method in TestUtils 333 return clientContext.getSocketFactory(); in getSocketFactory()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
D | TestUtils.java | 278 return getSocketFactory(JDK_PROVIDER); in getJdkSocketFactory() 322 return setUseEngineSocket(getSocketFactory(getConscryptProvider()), useEngineSocket); in getConscryptSocketFactory() 329 private static SSLSocketFactory getSocketFactory(Provider provider) { in getSocketFactory() method in TestUtils 331 return clientContext.getSocketFactory(); in getSocketFactory()
|
/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/apache-http/src/org/apache/http/conn/scheme/ |
D | PlainSocketFactory.java | 69 public static PlainSocketFactory getSocketFactory() { in getSocketFactory() method in PlainSocketFactory
|
D | Scheme.java | 133 public final SocketFactory getSocketFactory() { in getSocketFactory() method in Scheme
|
/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()
|