导航菜单

页面标题

页面副标题

OVO v3.139.0 - afh.java 源代码

正在查看: OVO v3.139.0 应用的 afh.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package o.i;

import co.hyperverge.hypersnapsdk.b.f.b;
import co.hyperverge.hypersnapsdk.b.f.d;
import java.util.concurrent.TimeUnit;
import okhttp3.Cache;
import okhttp3.CertificatePinner;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

public final class afh {
    public static b a;

    public static d f1282b;
    public static co.hyperverge.hypersnapsdk.analytics.mixpanel.network.b c;

    public static d a(Cache cache) {
        if (f1282b == null) {
            OkHttpClient.Builder builder = new OkHttpClient.Builder();
            xu6.c().getClass();
            long configReadTimeout = xu6.f6575b.getConfigReadTimeout();
            TimeUnit timeUnit = TimeUnit.SECONDS;
            builder.readTimeout(configReadTimeout, timeUnit);
            xu6.c().getClass();
            builder.connectTimeout(xu6.f6575b.getConfigConnectTimeout(), timeUnit);
            Retrofit.Builder builder2 = new Retrofit.Builder();
            djj.e().getClass();
            f1282b = (d) builder2.baseUrl("https://s3-ap-south-1.amazonaws.com").client(builder.cache(cache).build()).addConverterFactory(GsonConverterFactory.create()).build().create(d.class);
        }
        return f1282b;
    }

    public static b b() {
        if (a == null) {
            OkHttpClient.Builder builder = new OkHttpClient.Builder();
            xu6.c().getClass();
            long readTimeOut = xu6.f6575b.getReadTimeOut();
            TimeUnit timeUnit = TimeUnit.SECONDS;
            builder.readTimeout(readTimeOut, timeUnit);
            xu6.c().getClass();
            builder.writeTimeout(xu6.f6575b.getWriteTimeOut(), timeUnit);
            xu6.c().getClass();
            builder.connectTimeout(xu6.f6575b.getConnectTimeOut(), timeUnit);
            xu6.c().getClass();
            if (xu6.f6575b.isShouldEnableSSLPinning()) {
                builder.certificatePinner(new CertificatePinner.Builder().add("ind.faceid.hyperverge.co", new String[]{"sha256/hHWXbXBGT2chaVwYyxEyGqtPJX9H/dh5HbOAz5CmclM="}).add("ind.faceid.hyperverge.co", new String[]{"sha256/8Rw90Ej3Ttt8RRkrg+WYDS9n7IS03bk5bjP/UXPtaY8="}).add("ind.faceid.hyperverge.co", new String[]{"sha256/Ko8tivDrEjiY90yGasP6ZpBU4jwXvHqVvQI0GS3GNdA="}).add("ind.docs.hyperverge.co", new String[]{"sha256/hHWXbXBGT2chaVwYyxEyGqtPJX9H/dh5HbOAz5CmclM="}).add("ind.docs.hyperverge.co", new String[]{"sha256/8Rw90Ej3Ttt8RRkrg+WYDS9n7IS03bk5bjP/UXPtaY8="}).add("ind.docs.hyperverge.co", new String[]{"sha256/Ko8tivDrEjiY90yGasP6ZpBU4jwXvHqVvQI0GS3GNdA="}).add("staging.api.hyperverge.co", new String[]{"sha256/hHWXbXBGT2chaVwYyxEyGqtPJX9H/dh5HbOAz5CmclM="}).add("staging.api.hyperverge.co", new String[]{"sha256/8Rw90Ej3Ttt8RRkrg+WYDS9n7IS03bk5bjP/UXPtaY8="}).add("staging.api.hyperverge.co", new String[]{"sha256/Ko8tivDrEjiY90yGasP6ZpBU4jwXvHqVvQI0GS3GNdA="}).add("*.hyperverge.co", new String[]{"sha256/C3U1B8/WXNaje+K8wU4TRgV0htiLVH9gikN4+kwR+P4="}).add("*.hyperverge.co", new String[]{"sha256/8Rw90Ej3Ttt8RRkrg+WYDS9n7IS03bk5bjP/UXPtaY8="}).add("*.hyperverge.co", new String[]{"sha256/Ko8tivDrEjiY90yGasP6ZpBU4jwXvHqVvQI0GS3GNdA="}).build());
            }
            a = (b) new Retrofit.Builder().baseUrl(djj.e().f).client(builder.build()).addConverterFactory(GsonConverterFactory.create()).build().create(b.class);
        }
        return a;
    }
}