Home
last modified time | relevance | path

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

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java44 final HostnameVerifier hostnameVerifier; field in Address
49 SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier, in Address() argument
61 this.hostnameVerifier = hostnameVerifier; in Address()
97 return hostnameVerifier; in getHostnameVerifier()
132 && equal(this.hostnameVerifier, that.hostnameVerifier) in equals()
144 result = 31 * result + (hostnameVerifier != null ? hostnameVerifier.hashCode() : 0); in hashCode()
DOkHttpClient.java66 private HostnameVerifier hostnameVerifier; field in OkHttpClient
235 public OkHttpClient setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument
236 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier()
241 return hostnameVerifier; in getHostnameVerifier()
496 if (result.hostnameVerifier == null) { in copyWithDefaults()
497 result.hostnameVerifier = OkHostnameVerifier.INSTANCE; in copyWithDefaults()
DConnection.java200 if (!route.address.hostnameVerifier.verify(route.address.uriHost, sslSocket.getSession())) { in upgradeToTls()
/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java176 private X509HostnameVerifier hostnameVerifier = BROWSER_COMPATIBLE_HOSTNAME_VERIFIER; field in SSLSocketFactory
328 hostnameVerifier.verify(host, sslsock); in connectSocket()
388 hostnameVerifier.verify(host, sslSocket); in createSocket()
393 public void setHostnameVerifier(X509HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument
394 if ( hostnameVerifier == null ) { in setHostnameVerifier()
397 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier()
401 return hostnameVerifier; in getHostnameVerifier()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpsURLConnectionImpl.java50 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument
51 delegate.client.setHostnameVerifier(hostnameVerifier); in setHostnameVerifier()
DHttpEngine.java260 HostnameVerifier hostnameVerifier = null; in connect() local
263 hostnameVerifier = client.getHostnameVerifier(); in connect()
266 client.getSocketFactory(), sslSocketFactory, hostnameVerifier, client.getAuthenticator(), in connect()
DDelegatingHttpsURLConnection.java50 @Override public abstract void setHostnameVerifier(HostnameVerifier hostnameVerifier); in setHostnameVerifier() argument
DJavaApiConverter.java642 @Override public void setHostnameVerifier(HostnameVerifier hostnameVerifier) {
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DOkHttp.java42 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local
48 client.setHostnameVerifier(hostnameVerifier); in prepare()
DUrlConnection.java39 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local
44 HttpsURLConnectionImpl.setDefaultHostnameVerifier(hostnameVerifier); in prepare()
DOkHttpAsync.java57 HostnameVerifier hostnameVerifier = new HostnameVerifier() { in prepare() local
63 client.setHostnameVerifier(hostnameVerifier); in prepare()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java67 private static final HostnameVerifier hostnameVerifier; field in RouteSelectorTest
75 hostnameVerifier = HttpsURLConnectionImpl.getDefaultHostnameVerifier();
299 hostnameVerifier, authenticator, Proxy.NO_PROXY, protocols); in nonSslErrorAddsAllTlsModesToFailedRoute()
313 hostnameVerifier, authenticator, Proxy.NO_PROXY, protocols); in sslErrorAddsOnlyFailedTlsModeToFailedRoute()
327 hostnameVerifier, authenticator, null, protocols); in multipleProxiesMultipleInetAddressesMultipleTlsModes()
374 hostnameVerifier, authenticator, Proxy.NO_PROXY, protocols); in failedRoutesAreLast()
DURLConnectionTest.java578 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in connectViaHttpsReusingConnections() local
581 client.setHostnameVerifier(hostnameVerifier); in connectViaHttpsReusingConnections()
858 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testConnectViaHttpProxyToHttps() local
868 client.setHostnameVerifier(hostnameVerifier); in testConnectViaHttpProxyToHttps()
881 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testConnectViaHttpProxyToHttps()
932 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyConnectIncludesProxyHeadersOnly() local
943 client.setHostnameVerifier(hostnameVerifier); in proxyConnectIncludesProxyHeadersOnly()
959 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in proxyConnectIncludesProxyHeadersOnly()
1014 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in proxyWithConnectionReuse() local
1026 client.setHostnameVerifier(hostnameVerifier); in proxyWithConnectionReuse()
[all …]