Info Call to SSL/TLS API

Description

List of all files shipped in the application.

Recommendation

This entry is informative, no recommendations applicable.

References
Technical details

Method org.jsoup.helper.HttpConnection$Response.createConnection() calling method javax.net.ssl.HttpsURLConnection.setHostnameVerifier()


    private static java.net.HttpURLConnection createConnection(org.jsoup.Connection$Request p3)
    {
        java.net.HttpURLConnection v0_2;
        if (p3.proxy() != null) {
            v0_2 = p3.url().openConnection(p3.proxy());
        } else {
            v0_2 = p3.url().openConnection();
        }
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) v0_2);
        v0_3.setRequestMethod(p3.method().name());
        v0_3.setInstanceFollowRedirects(0);
        v0_3.setConnectTimeout(p3.timeout());
        v0_3.setReadTimeout(p3.timeout());
        if (((v0_3 instanceof javax.net.ssl.HttpsURLConnection)) && (!p3.validateTLSCertificates())) {
            org.jsoup.helper.HttpConnection$Response.initUnSecureTSL();
            String v1_8 = ((javax.net.ssl.HttpsURLConnection) v0_3);
            v1_8.setSSLSocketFactory(org.jsoup.helper.HttpConnection$Response.sslSocketFactory);
            v1_8.setHostnameVerifier(org.jsoup.helper.HttpConnection$Response.getInsecureVerifier());
        }
        if (p3.method().hasBody()) {
            v0_3.setDoOutput(1);
        }
        if (p3.cookies().size() > 0) {
            v0_3.addRequestProperty("Cookie", org.jsoup.helper.HttpConnection$Response.getRequestCookieString(p3));
        }
        java.util.Iterator v3_3 = p3.headers().entrySet().iterator();
        while (v3_3.hasNext()) {
            String v1_18 = ((java.util.Map$Entry) v3_3.next());
            v0_3.addRequestProperty(((String) v1_18.getKey()), ((String) v1_18.getValue()));
        }
        return v0_3;
    }