Searched refs:hostnameVerifier (Results 1 – 4 of 4) sorted by relevance
169 private X509HostnameVerifier hostnameVerifier = BROWSER_COMPATIBLE_HOSTNAME_VERIFIER; field in SSLSocketFactory321 hostnameVerifier.verify(host, sslsock); in connectSocket()381 hostnameVerifier.verify(host, sslSocket); in createSocket()386 public void setHostnameVerifier(X509HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument387 if ( hostnameVerifier == null ) { in setHostnameVerifier()390 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier()394 return hostnameVerifier; in getHostnameVerifier()
169 protected HostnameVerifier hostnameVerifier; field in OkHttpsConnection181 hostnameVerifier = defaultHostnameVerifier; in OkHttpsConnection()264 hostnameVerifier = v; in setHostnameVerifier()273 return hostnameVerifier; in getHostnameVerifier()
196 HostnameVerifier hostnameVerifier, boolean tlsTolerant) throws IOException { in setupSecureSocket() argument214 if (!hostnameVerifier.verify(address.uriHost, sslSocket.getSession())) { in setupSecureSocket()
608 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testConnectViaHttpProxyToHttps() local620 connection.setHostnameVerifier(hostnameVerifier); in testConnectViaHttpProxyToHttps()632 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testConnectViaHttpProxyToHttps()640 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testProxyConnectIncludesProxyHeadersOnly() local656 connection.setHostnameVerifier(hostnameVerifier); in testProxyConnectIncludesProxyHeadersOnly()668 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testProxyConnectIncludesProxyHeadersOnly()