Searched refs:HttpsURLConnection (Results 1 – 8 of 8) sorted by relevance
29 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()89 … HttpsURLConnection 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 …]
25 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()
48 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 …]
27 import javax.net.ssl.HttpsURLConnection;54 hostnameVerifier = HttpsURLConnection.getDefaultHostnameVerifier(); in setUp()55 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); in setUp()
57 class HttpsURLConnection extends HttpURLConnection class65 protected HttpsURLConnection(URL url) { in HttpsURLConnection() method in HttpsURLConnection
79 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 …]
35 import javax.net.ssl.HttpsURLConnection;51 private final HostnameVerifier verifier = HttpsURLConnection.getDefaultHostnameVerifier();
1271 "ojluni/src/main/java/javax/net/ssl/HttpsURLConnection.java",