Home
last modified time | relevance | path

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

/external/apache-http/src/org/apache/http/conn/ssl/
DSSLSocketFactory.java169 private X509HostnameVerifier hostnameVerifier = BROWSER_COMPATIBLE_HOSTNAME_VERIFIER; field in SSLSocketFactory
321 hostnameVerifier.verify(host, sslsock); in connectSocket()
381 hostnameVerifier.verify(host, sslSocket); in createSocket()
386 public void setHostnameVerifier(X509HostnameVerifier hostnameVerifier) { in setHostnameVerifier() argument
387 if ( hostnameVerifier == null ) { in setHostnameVerifier()
390 this.hostnameVerifier = hostnameVerifier; in setHostnameVerifier()
394 return hostnameVerifier; in getHostnameVerifier()
/external/okhttp/src/main/java/com/squareup/okhttp/
DOkHttpsConnection.java169 protected HostnameVerifier hostnameVerifier; field in OkHttpsConnection
181 hostnameVerifier = defaultHostnameVerifier; in OkHttpsConnection()
264 hostnameVerifier = v; in setHostnameVerifier()
273 return hostnameVerifier; in getHostnameVerifier()
/external/okhttp/src/main/java/libcore/net/http/
DHttpConnection.java196 HostnameVerifier hostnameVerifier, boolean tlsTolerant) throws IOException { in setupSecureSocket() argument
214 if (!hostnameVerifier.verify(address.uriHost, sslSocket.getSession())) { in setupSecureSocket()
/external/okhttp/src/test/java/libcore/net/http/
DURLConnectionTest.java608 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testConnectViaHttpProxyToHttps() local
620 connection.setHostnameVerifier(hostnameVerifier); in testConnectViaHttpProxyToHttps()
632 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testConnectViaHttpProxyToHttps()
640 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier(); in testProxyConnectIncludesProxyHeadersOnly() local
656 connection.setHostnameVerifier(hostnameVerifier); in testProxyConnectIncludesProxyHeadersOnly()
668 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls); in testProxyConnectIncludesProxyHeadersOnly()