Home
last modified time | relevance | path

Searched refs:HttpsURLConnection (Results 1 – 12 of 12) 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.java49 import javax.net.ssl.HttpsURLConnection;
118 SSLSocketFactory defaultSSLSF = HttpsURLConnection.getDefaultSSLSocketFactory(); in testGetDefaultSSLSocketFactory()
133 HttpsURLConnection.setDefaultHostnameVerifier(new TestHostnameVerifier()); in testHttpsConnection()
141 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection()
165 HttpsURLConnection.setDefaultHostnameVerifier(new TestHostnameVerifier()); in testHttpsConnection_Not_Found_Response()
174 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in testHttpsConnection_Not_Found_Response()
204 HttpsURLConnection.setDefaultSSLSocketFactory(socketFactory); in testSetDefaultSSLSocketFactory()
207 socketFactory, HttpsURLConnection.getDefaultSSLSocketFactory()); in testSetDefaultSSLSocketFactory()
211 HttpsURLConnection.setDefaultHostnameVerifier(initialHostnameVerifier); in testSetDefaultSSLSocketFactory()
219 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.java86 import javax.net.ssl.HttpsURLConnection;
564 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in checkConnectViaHttps()
583 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in connectViaHttpsReusingConnections()
587 connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in connectViaHttpsReusingConnections()
605 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in connectViaHttpsReusingConnectionsDifferentFactories()
609 connection = (HttpsURLConnection) server.getUrl("/").openConnection(); in connectViaHttpsReusingConnectionsDifferentFactories()
631 HttpsURLConnection connection = (HttpsURLConnection) server.getUrl("/foo").openConnection(); in connectViaHttpsToUntrustedServer()
731 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in checkConnectViaDirectProxyToHttps()
773 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in checkConnectViaHttpProxyToHttps()
815 HttpsURLConnection connection = (HttpsURLConnection) proxyConfig.connect(server, url); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
[all …]
/libcore/ojluni/annotations/mmodule/javax/net/ssl/
DHttpsURLConnection.annotated.java29 abstract public class HttpsURLConnection extends HttpURLConnection { class
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java35 import javax.net.ssl.HttpsURLConnection;
51 private final HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
/libcore/api/
Dmodule-lib-current.txt570 public abstract class HttpsURLConnection extends java.net.HttpURLConnection {
Dcurrent.txt19403 public abstract class HttpsURLConnection extends java.net.HttpURLConnection {
19404 ctor protected HttpsURLConnection(java.net.URL);
/libcore/
Dopenjdk_java_files.bp1334 "ojluni/src/main/java/javax/net/ssl/HttpsURLConnection.java",
DEXPECTED_UPSTREAM1331 …src/main/java/javax/net/ssl/HttpsURLConnection.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/javax…