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 com.google.api.client.http.javanet.NetHttpTransport.a() calling method javax.net.ssl.HttpsURLConnection.setHostnameVerifier()


    protected com.google.api.client.http.javanet.NetHttpRequest a(String p4, String p5)
    {
        javax.net.ssl.SSLSocketFactory v0_0 = this.supportsMethod(p4);
        Object[] v1_1 = new Object[1];
        v1_1[0] = p4;
        com.google.api.client.util.Preconditions.checkArgument(v0_0, "HTTP method %s not supported", v1_1);
        java.net.HttpURLConnection v5_2 = this.connectionFactory.openConnection(new java.net.URL(p5));
        v5_2.setRequestMethod(p4);
        if ((v5_2 instanceof javax.net.ssl.HttpsURLConnection)) {
            com.google.api.client.http.javanet.NetHttpRequest v4_3 = ((javax.net.ssl.HttpsURLConnection) v5_2);
            javax.net.ssl.SSLSocketFactory v0_1 = this.hostnameVerifier;
            if (v0_1 != null) {
                v4_3.setHostnameVerifier(v0_1);
            }
            javax.net.ssl.SSLSocketFactory v0_2 = this.sslSocketFactory;
            if (v0_2 != null) {
                v4_3.setSSLSocketFactory(v0_2);
            }
        }
        return new com.google.api.client.http.javanet.NetHttpRequest(v5_2);
    }

Method com.google.api.client.http.apache.ApacheHttpTransport$Builder.doNotValidateCertificate() calling method org.apache.http.conn.ssl.SSLSocketFactory.setHostnameVerifier()


    public com.google.api.client.http.apache.ApacheHttpTransport$Builder doNotValidateCertificate()
    {
        this.socketFactory = new com.google.api.client.http.apache.SSLSocketFactoryExtension(com.google.api.client.util.SslUtils.trustAllSSLContext());
        this.socketFactory.setHostnameVerifier(org.apache.http.conn.ssl.SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
        return this;
    }

Method com.mapbox.android.telemetry.TelemetryClientSettings.configureHttpClient() calling method okhttp3.OkHttpClient$Builder.hostnameVerifier()


    private okhttp3.OkHttpClient configureHttpClient()
    {
        okhttp3.OkHttpClient v0_3 = this.client.newBuilder().addInterceptor(new com.mapbox.android.telemetry.GzipRequestInterceptor()).retryOnConnectionFailure(1).certificatePinner(new com.mapbox.android.telemetry.CertificatePinnerFactory().provideCertificatePinnerFor(this.environment));
        javax.net.ssl.HostnameVerifier v1_2 = new okhttp3.ConnectionSpec[2];
        v1_2[0] = okhttp3.ConnectionSpec.MODERN_TLS;
        v1_2[1] = okhttp3.ConnectionSpec.COMPATIBLE_TLS;
        okhttp3.OkHttpClient v0_4 = v0_3.connectionSpecs(java.util.Arrays.asList(v1_2));
        if (this.isSocketFactoryUnset(this.sslSocketFactory, this.x509TrustManager)) {
            v0_4.sslSocketFactory(this.sslSocketFactory, this.x509TrustManager);
            v0_4.hostnameVerifier(this.hostnameVerifier);
        }
        return v0_4.build();
    }