HomeSort by relevance Sort by last modified time
    Searched refs:HostnameVerifier (Results 1 - 25 of 27) sorted by null

1 2

  /libcore/luni/src/main/java/javax/net/ssl/
HostnameVerifier.java 27 public interface HostnameVerifier {
HttpsURLConnection.java 106 private static HostnameVerifier defaultHostnameVerifier = new DefaultHostnameVerifier();
119 public static void setDefaultHostnameVerifier(HostnameVerifier v) {
121 throw new IllegalArgumentException("HostnameVerifier is null");
131 public static HostnameVerifier getDefaultHostnameVerifier() {
162 * {@link #setDefaultHostnameVerifier(HostnameVerifier)} or
165 protected HostnameVerifier hostnameVerifier;
177 hostnameVerifier = defaultHostnameVerifier;
256 public void setHostnameVerifier(HostnameVerifier v) {
258 throw new IllegalArgumentException("HostnameVerifier is null")
    [all...]
DefaultHostnameVerifier.java 32 * A HostnameVerifier that works the same way as Curl and Firefox.
39 class DefaultHostnameVerifier implements HostnameVerifier {
  /external/apache-http/src/org/apache/http/conn/ssl/
X509HostnameVerifier.java 34 import javax.net.ssl.HostnameVerifier;
43 * server's X.509 certificate. Implements javax.net.ssl.HostnameVerifier, but
45 * take String parameters (instead of javax.net.ssl.HostnameVerifier's
48 * We provide the HostnameVerifier.DEFAULT, HostnameVerifier.STRICT, and
49 * HostnameVerifier.ALLOW_ALL implementations. But feel free to define
60 public interface X509HostnameVerifier extends HostnameVerifier {
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
HttpsURLConnection_ImplTest.java 34 HostnameVerifier ver = HttpsURLConnection.getDefaultHostnameVerifier();
46 HostnameVerifier ver = con.getHostnameVerifier();
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
HostnameVerifierTest.java 25 import javax.net.ssl.HostnameVerifier;
33 * Tests for <code>HostnameVerifier</code> class constructors and methods.
40 * javax.net.ssl.HostnameVerifier#verify(String hostname, SSLSession
45 HostnameVerifier hv = HttpsURLConnection.getDefaultHostnameVerifier();
58 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
152 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
167 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
190 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
212 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
245 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier()
    [all...]
HttpsURLConnectionTest.java 28 import javax.net.ssl.HostnameVerifier;
94 HostnameVerifier verifyer =
116 HostnameVerifier verifyer = con.getHostnameVerifier();
208 HostnameVerifier def = HttpsURLConnection.getDefaultHostnameVerifier();
330 class myHostnameVerifier implements HostnameVerifier {
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
HttpsURLConnectionTest.java 25 import javax.net.ssl.HostnameVerifier;
  /cts/tests/core/runner/src/android/test/
InstrumentationCtsTestRunner.java 42 import javax.net.ssl.HostnameVerifier;
236 private HostnameVerifier mHostnameVerifier;
  /frameworks/base/core/java/android/net/
SSLCertificateSocketFactory.java 29 import javax.net.ssl.HostnameVerifier;
68 * {@link HostnameVerifier} to verify the certificate hostname.
85 private static final HostnameVerifier HOSTNAME_VERIFIER =
  /libcore/luni/src/main/java/libcore/net/http/
HttpConnection.java 34 import javax.net.ssl.HostnameVerifier;
217 * @param hostnameVerifier Used to verify the hostname we
221 public SSLSocket verifySecureSocketHostname(HostnameVerifier hostnameVerifier)
223 if (!hostnameVerifier.verify(address.uriHost, unverifiedSocket.getSession())) {
  /packages/apps/Email/src/com/android/email/mail/transport/
MailTransport.java 39 import javax.net.ssl.HostnameVerifier;
56 private static final HostnameVerifier HOSTNAME_VERIFIER =
  /cts/tests/src/android/webkit/cts/
CtsTestServer.java 74 import javax.net.ssl.HostnameVerifier;
257 * {@link HostnameVerifier} that verifies everybody. This permits
261 private static class CtsHostnameVerifier implements HostnameVerifier {
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java 40 import javax.net.ssl.HostnameVerifier;
136 // create the HostnameVerifier to check hostname verification
176 // create the HostnameVerifier to check hostname verification
214 // create the HostnameVerifier to check hostname verification
259 // create the HostnameVerifier to check hostname verification
300 // create the HostnameVerifier to check hostname verification
387 // create the HostnameVerifier to check that Hostname verification
429 // create the HostnameVerifier to check that Hostname verification
465 // create the HostnameVerifier to check that Hostname verification
500 // create the HostnameVerifier to check that Hostname verificatio
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java 45 import javax.net.ssl.HostnameVerifier;
129 // create the HostnameVerifier to check hostname verification
160 // create the HostnameVerifier to check hostname verification
199 // create the HostnameVerifier to check hostname verification
237 // create the HostnameVerifier to check hostname verification
314 // create the HostnameVerifier to check that Hostname verification
350 // create the HostnameVerifier to check that Hostname verification
379 // create the HostnameVerifier to check that Hostname verification
411 // create the HostnameVerifier to check that Hostname verification
453 // create the HostnameVerifier to check that Hostname verificatio
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 59 import javax.net.ssl.HostnameVerifier;
585 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier();
597 connection.setHostnameVerifier(hostnameVerifier);
609 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls);
617 RecordingHostnameVerifier hostnameVerifier = new RecordingHostnameVerifier();
634 connection.setHostnameVerifier(hostnameVerifier);
646 assertEquals(Arrays.asList("verify android.com"), hostnameVerifier.calls);
    [all...]
  /prebuilt/common/http-client/
httpclient-4.1.1.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/15/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 3751 milliseconds

1 2