Home
last modified time | relevance | path

Searched refs:HttpsURLConnection (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHttpsURLConnectionTest.java29 import javax.net.ssl.HttpsURLConnection;
49 HttpsURLConnection.setDefaultSSLSocketFactory( in setUp()
66 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getCipherSuite()
73 HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/")); in test_getCipherSuite()
82 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getLocalCertificates()
89HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/"), "X.508"); in test_getLocalCertificates()
102 HttpsURLConnection.getDefaultHostnameVerifier(); in test_getDefaultHostnameVerifier()
111 HttpsURLConnection con = new MyHttpsURLConnection( in test_getHostnameVerifier()
116 HttpsURLConnection.getDefaultHostnameVerifier(), verifyer); in test_getHostnameVerifier()
124 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in test_getLocalPrincipal()
[all …]
DHostnameVerifierTest.java25 import javax.net.ssl.HttpsURLConnection;
39 HostnameVerifier hv = HttpsURLConnection.getDefaultHostnameVerifier(); in test_verify()
45 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testVerify()
147 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testSubjectAlt()
160 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testVerifyIpAddress()
183 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testWildcardsCannotMatchIpAddresses()
220 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testWildcardsDoesNotNeedTwoDots()
253 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testSubjectAltName()
290 HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier(); in testSubjectAltNameWithWildcard()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java48 import javax.net.ssl.HttpsURLConnection;
117 SSLSocketFactory defaultSSLSF = HttpsURLConnection.getDefaultSSLSocketFactory(); in testGetDefaultSSLSocketFactory()
132 HttpsURLConnection.setDefaultHostnameVerifier(new TestHostnameVerifier()); in testHttpsConnection()
140 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection()
164 HttpsURLConnection.setDefaultHostnameVerifier(new TestHostnameVerifier()); in testHttpsConnection_Not_Found_Response()
173 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection_Not_Found_Response()
203 HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory); in testSetDefaultSSLSocketFactory()
206 socketFactory, HttpsURLConnection.getDefaultSSLSocketFactory()); in testSetDefaultSSLSocketFactory()
210 HttpsURLConnection.setDefaultHostnameVerifier(initialHostnameVerifier); in testSetDefaultSSLSocketFactory()
218 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testSetDefaultSSLSocketFactory()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DHostnameVerifierBenchmark.java27 import javax.net.ssl.HttpsURLConnection;
54 hostnameVerifier = HttpsURLConnection.getDefaultHostnameVerifier(); in setUp()
55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in setUp()
/libcore/ojluni/src/main/java/javax/net/ssl/
DHttpsURLConnection.java57 class HttpsURLConnection extends HttpURLConnection class
65 protected HttpsURLConnection(URL url) { in HttpsURLConnection() method in HttpsURLConnection
/libcore/luni/src/test/java/libcore/java/net/
DURLConnectionTest.java79 import javax.net.ssl.HttpsURLConnection;
551 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in testConnectViaHttps()
570 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testConnectViaHttpsReusingConnections()
574 connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testConnectViaHttpsReusingConnections()
592 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testConnectViaHttpsReusingConnectionsDifferentFactories()
596 connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in testConnectViaHttpsReusingConnectionsDifferentFactories()
618 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in testConnectViaHttpsToUntrustedServer()
718 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in testConnectViaDirectProxyToHttps()
760 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in testConnectViaHttpProxyToHttps()
801 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in testConnectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java35 import javax.net.ssl.HttpsURLConnection;
51 private final HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
/libcore/
Dopenjdk_java_files.bp1271 "ojluni/src/main/java/javax/net/ssl/HttpsURLConnection.java",