Home
last modified time | relevance | path

Searched refs:sslSocketFactory (Results 1 – 25 of 45) sorted by relevance

12

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java47 final SSLSocketFactory sslSocketFactory; field in Address
52 SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, in Address() argument
56 .scheme(sslSocketFactory != null ? "https" : "http") in Address()
80 this.sslSocketFactory = sslSocketFactory; in Address()
159 return sslSocketFactory; in getSslSocketFactory()
182 && equal(this.sslSocketFactory, that.sslSocketFactory) in equals()
198 result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); in hashCode()
DOkHttpClient.java135 private SSLSocketFactory sslSocketFactory; field in OkHttpClient
166 this.sslSocketFactory = okHttpClient.sslSocketFactory; in OkHttpClient()
344 public OkHttpClient setSslSocketFactory(SSLSocketFactory sslSocketFactory) { in setSslSocketFactory() argument
345 this.sslSocketFactory = sslSocketFactory; in setSslSocketFactory()
350 return sslSocketFactory; in getSslSocketFactory()
590 if (result.sslSocketFactory == null) { in copyWithDefaults()
591 result.sslSocketFactory = getDefaultSSLSocketFactory(); in copyWithDefaults()
DRoute.java78 return address.sslSocketFactory != null && proxy.type() == Proxy.Type.HTTP; in requiresTunnel()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DAddress.java49 final SSLSocketFactory sslSocketFactory; field in Address
54 SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, in Address() argument
58 .scheme(sslSocketFactory != null ? "https" : "http") in Address()
82 this.sslSocketFactory = sslSocketFactory; in Address()
161 return sslSocketFactory; in getSslSocketFactory()
184 && equal(this.sslSocketFactory, that.sslSocketFactory) in equals()
200 result = 31 * result + (sslSocketFactory != null ? sslSocketFactory.hashCode() : 0); in hashCode()
DOkHttpClient.java138 private SSLSocketFactory sslSocketFactory; field in OkHttpClient
172 this.sslSocketFactory = okHttpClient.sslSocketFactory; in OkHttpClient()
353 public OkHttpClient setSslSocketFactory(SSLSocketFactory sslSocketFactory) { in setSslSocketFactory() argument
354 this.sslSocketFactory = sslSocketFactory; in setSslSocketFactory()
360 return sslSocketFactory; in getSslSocketFactory()
604 if (result.sslSocketFactory == null) { in copyWithDefaults()
605 result.sslSocketFactory = getDefaultSSLSocketFactory(); in copyWithDefaults()
DRoute.java80 return address.sslSocketFactory != null && proxy.type() == Proxy.Type.HTTP; in requiresTunnel()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/
DTlsTester.java30 SSLSocketFactory sslSocketFactory) throws Exception { in captureTlsHandshakeClientHello() argument
31 TlsRecord record = captureTlsHandshakeFirstTlsRecord(executor, sslSocketFactory); in captureTlsHandshakeClientHello()
51 SSLSocketFactory sslSocketFactory) throws Exception { in captureTlsHandshakeFirstTlsRecord() argument
52 …e[] firstReceivedChunk = captureTlsHandshakeFirstTransmittedChunkBytes(executor, sslSocketFactory); in captureTlsHandshakeFirstTlsRecord()
66 ExecutorService executor, final SSLSocketFactory sslSocketFactory) throws Exception { in captureTlsHandshakeFirstTransmittedChunkBytes() argument
114 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(client, in captureTlsHandshakeFirstTransmittedChunkBytes()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/
DTlsTester.java34 SSLSocketFactory sslSocketFactory) throws Exception { in captureTlsHandshakeClientHello() argument
35 TlsRecord record = captureTlsHandshakeFirstTlsRecord(executor, sslSocketFactory); in captureTlsHandshakeClientHello()
55 SSLSocketFactory sslSocketFactory) throws Exception { in captureTlsHandshakeFirstTlsRecord() argument
56 …e[] firstReceivedChunk = captureTlsHandshakeFirstTransmittedChunkBytes(executor, sslSocketFactory); in captureTlsHandshakeFirstTlsRecord()
70 ExecutorService executor, final SSLSocketFactory sslSocketFactory) throws Exception { in captureTlsHandshakeFirstTransmittedChunkBytes() argument
118 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(client, in captureTlsHandshakeFirstTransmittedChunkBytes()
/external/nist-sip/java/gov/nist/core/net/
DDefaultNetworkLayer.java53 private SSLSocketFactory sslSocketFactory; field in DefaultNetworkLayer
66 sslSocketFactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); in DefaultNetworkLayer()
107 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket()
113 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
DSslNetworkLayer.java60 private SSLSocketFactory sslSocketFactory; field in SslNetworkLayer
85 sslSocketFactory = sslContext.getSocketFactory(); in SslNetworkLayer()
117 return (SSLSocket) sslSocketFactory.createSocket(address, port); in createSSLSocket()
123 return (SSLSocket) sslSocketFactory.createSocket(address, port, in createSSLSocket()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java76 public static void assertSSLSocketFactoryDefaultConfiguration(SSLSocketFactory sslSocketFactory) in assertSSLSocketFactoryDefaultConfiguration() argument
78 assertSSLSocketFactoryConfigSameAsSSLContext(sslSocketFactory, SSLContext.getDefault()); in assertSSLSocketFactoryDefaultConfiguration()
86 SSLSocketFactory sslSocketFactory, SSLContext sslContext) throws IOException { in assertSSLSocketFactoryConfigSameAsSSLContext() argument
88 sslSocketFactory.getDefaultCipherSuites()); in assertSSLSocketFactoryConfigSameAsSSLContext()
90 sslSocketFactory.getSupportedCipherSuites()); in assertSSLSocketFactoryConfigSameAsSSLContext()
91 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(); in assertSSLSocketFactoryConfigSameAsSSLContext()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DSSLConfigurationAsserts.java78 public static void assertSSLSocketFactoryDefaultConfiguration(SSLSocketFactory sslSocketFactory) in assertSSLSocketFactoryDefaultConfiguration() argument
80 assertSSLSocketFactoryConfigSameAsSSLContext(sslSocketFactory, SSLContext.getDefault()); in assertSSLSocketFactoryDefaultConfiguration()
88 SSLSocketFactory sslSocketFactory, SSLContext sslContext) throws IOException { in assertSSLSocketFactoryConfigSameAsSSLContext() argument
90 sslSocketFactory.getDefaultCipherSuites()); in assertSSLSocketFactoryConfigSameAsSSLContext()
92 sslSocketFactory.getSupportedCipherSuites()); in assertSSLSocketFactoryConfigSameAsSSLContext()
93 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket(); in assertSSLSocketFactoryConfigSameAsSSLContext()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpsURLConnectionImpl.java63 @Override public void setSSLSocketFactory(SSLSocketFactory sslSocketFactory) { in setSSLSocketFactory() argument
69 if (sslSocketFactory == null) { in setSSLSocketFactory()
73 delegate.client.setSslSocketFactory(sslSocketFactory); in setSSLSocketFactory()
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/
DHttpsURLConnectionImpl.java68 @Override public void setSSLSocketFactory(SSLSocketFactory sslSocketFactory) { in setSSLSocketFactory() argument
74 if (sslSocketFactory == null) { in setSSLSocketFactory()
78 delegate.client.setSslSocketFactory(sslSocketFactory); in setSSLSocketFactory()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpTlsUpgrader.java54 public static SSLSocket upgrade(SSLSocketFactory sslSocketFactory, in upgrade() argument
57 Preconditions.checkNotNull(sslSocketFactory, "sslSocketFactory"); in upgrade()
60 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket( in upgrade()
DOkHttpChannelBuilder.java154 private SSLSocketFactory sslSocketFactory; field in OkHttpChannelBuilder
291 public final OkHttpChannelBuilder sslSocketFactory(SSLSocketFactory factory) { in sslSocketFactory() method in OkHttpChannelBuilder
292 this.sslSocketFactory = factory; in sslSocketFactory()
428 if (sslSocketFactory == null) { in createSocketFactory()
448 sslSocketFactory = sslContext.getSocketFactory(); in createSocketFactory()
450 return sslSocketFactory; in createSocketFactory()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java46 private final SSLSocketFactory sslSocketFactory; field in FramedServer
48 public FramedServer(File baseDirectory, SSLSocketFactory sslSocketFactory) { in FramedServer() argument
50 this.sslSocketFactory = sslSocketFactory; in FramedServer()
85 SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket( in doSsl()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java89 private SSLSocketFactory sslSocketFactory; field in MockWebServer
124 return sslSocketFactory != null in getUrl()
160 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) { in useHttps() argument
161 this.sslSocketFactory = sslSocketFactory; in useHttps()
303 if (sslSocketFactory != null) { in serveConnection()
313 socket = sslSocketFactory.createSocket( in serveConnection()
409 SSLSocketFactory sslSocketFactory = context.getSocketFactory(); in processHandshakeFailure() local
410 SSLSocket socket = (SSLSocket) sslSocketFactory.createSocket( in processHandshakeFailure()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java88 public X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) { in trustManager() argument
243 @Override public X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) { in trustManager() argument
244 Object context = readFieldOrNull(sslSocketFactory, sslParametersClass, "sslParameters"); in trustManager()
251 sslSocketFactory.getClass().getClassLoader()); in trustManager()
252 context = readFieldOrNull(sslSocketFactory, gmsSslParametersClass, "sslParameters"); in trustManager()
340 @Override public X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) { in trustManager() argument
341 Object context = readFieldOrNull(sslSocketFactory, sslContextClass, "context"); in trustManager()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/io/
DRealConnection.java180 SSLSocketFactory sslSocketFactory = address.getSslSocketFactory(); in connectTls() local
185 sslSocket = (SSLSocket) sslSocketFactory.createSocket( in connectTls()
249 private static synchronized TrustRootIndex trustRootIndex(SSLSocketFactory sslSocketFactory) { in trustRootIndex() argument
250 if (sslSocketFactory != lastSslSocketFactory) { in trustRootIndex()
251 X509TrustManager trustManager = Platform.get().trustManager(sslSocketFactory); in trustRootIndex()
253 lastSslSocketFactory = sslSocketFactory; in trustRootIndex()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
DRealConnection.java176 SSLSocketFactory sslSocketFactory = address.getSslSocketFactory(); in connectTls() local
181 sslSocket = (SSLSocket) sslSocketFactory.createSocket( in connectTls()
245 private static synchronized TrustRootIndex trustRootIndex(SSLSocketFactory sslSocketFactory) { in trustRootIndex() argument
246 if (sslSocketFactory != lastSslSocketFactory) { in trustRootIndex()
247 X509TrustManager trustManager = Platform.get().trustManager(sslSocketFactory); in trustRootIndex()
249 lastSslSocketFactory = sslSocketFactory; in trustRootIndex()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java122 private SSLSocketFactory sslSocketFactory; field in MockWebServer
201 .scheme(sslSocketFactory != null ? "https" : "http")
259 public void useHttps(SSLSocketFactory sslSocketFactory, boolean tunnelProxy) {
260 this.sslSocketFactory = sslSocketFactory;
437 if (sslSocketFactory != null) {
447 socket = sslSocketFactory.createSocket(raw, raw.getInetAddress().getHostAddress(),
573 SSLSocketFactory sslSocketFactory = context.getSocketFactory();
574 SSLSocket socket = (SSLSocket) sslSocketFactory.createSocket(
/external/grpc-grpc-java/android/
Dproguard-rules.txt4 io.grpc.okhttp.OkHttpChannelBuilder sslSocketFactory(javax.net.ssl.SSLSocketFactory);
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java192 public X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) { in trustManager() argument
199 Object context = readFieldOrNull(sslSocketFactory, sslParametersClass, "sslParameters"); in trustManager()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java196 public X509TrustManager trustManager(SSLSocketFactory sslSocketFactory) { in trustManager() argument
203 Object context = readFieldOrNull(sslSocketFactory, sslParametersClass, "sslParameters"); in trustManager()

12