APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:CoinCalc
版本号:17.5
包名称:com.samruston.flip

MD5 校验值:719081c19dfabad7b000ef11fc4f3317

反编译源代码说明

k.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package g7;

import a7.Gno.YLaDcwOolmCZq;
import androidx.recyclerview.widget.LinearLayoutManager;
import d4.WACp.QALqxpFtNki;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.Security;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
import javax.net.ssl.TrustManagerFactory;
import javax.net.ssl.X509TrustManager;
import k5.lSse.jABisTZYuzKsAS;
import kotlin.Metadata;
import o3.r;
import w6.a0;
import w6.z;

@Metadata(d1 = {"\u0000j\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u0003\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0016\u0018\u0000 -2\u00020\u0001:\u0001-B\u0007¢\u0006\u0004\b+\u0010,J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\b\u0010\u0005\u001a\u00020\u0004H\u0016J(\u0010\u000e\u001a\u00020\r2\u0006\u0010\u0007\u001a\u00020\u00062\b\u0010\t\u001a\u0004\u0018\u00010\b2\f\u0010\f\u001a\b\u0012\u0004\u0012\u00020\u000b0\nH\u0016J\u0010\u0010\u000f\u001a\u00020\r2\u0006\u0010\u0007\u001a\u00020\u0006H\u0016J\u0012\u0010\u0010\u001a\u0004\u0018\u00010\b2\u0006\u0010\u0007\u001a\u00020\u0006H\u0016J \u0010\u0017\u001a\u00020\r2\u0006\u0010\u0012\u001a\u00020\u00112\u0006\u0010\u0014\u001a\u00020\u00132\u0006\u0010\u0016\u001a\u00020\u0015H\u0016J&\u0010\u001c\u001a\u00020\r2\u0006\u0010\u0018\u001a\u00020\b2\b\b\u0002\u0010\u0019\u001a\u00020\u00152\n\b\u0002\u0010\u001b\u001a\u0004\u0018\u00010\u001aH\u0016J\u0010\u0010\u001e\u001a\u00020\u001d2\u0006\u0010\t\u001a\u00020\bH\u0016J\u0012\u0010 \u001a\u0004\u0018\u00010\u00012\u0006\u0010\u001f\u001a\u00020\bH\u0016J\u001a\u0010\"\u001a\u00020\r2\u0006\u0010\u0018\u001a\u00020\b2\b\u0010!\u001a\u0004\u0018\u00010\u0001H\u0016J\u0010\u0010%\u001a\u00020$2\u0006\u0010#\u001a\u00020\u0004H\u0016J\u0010\u0010'\u001a\u00020&2\u0006\u0010#\u001a\u00020\u0004H\u0016J\u0010\u0010)\u001a\u00020(2\u0006\u0010#\u001a\u00020\u0004H\u0016J\b\u0010*\u001a\u00020\bH\u0016¨\u0006."}, d2 = {"Lg7/k;", "", "Ljavax/net/ssl/SSLContext;", "m", "Ljavax/net/ssl/X509TrustManager;", "o", "Ljavax/net/ssl/SSLSocket;", "sslSocket", "", "hostname", "", "Lw6/a0;", "protocols", "Ln3/x;", "e", "b", "g", "Ljava/net/Socket;", "socket", "Ljava/net/InetSocketAddress;", "address", "", "connectTimeout", "f", "message", "level", "", "t", "j", "", "i", "closer", "h", "stackTrace", "l", "trustManager", "Lj7/c;", "c", "Lj7/e;", "d", "Ljavax/net/ssl/SSLSocketFactory;", "n", "toString", "<init>", "()V", "a", "okhttp"}, k = 1, mv = {1, 6, LinearLayoutManager.HORIZONTAL})
public class k {

    public static final Companion INSTANCE;

    private static volatile k f8060b;

    private static final Logger f8061c;

    @Metadata(d1 = {"\u0000>\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0010\u000b\n\u0002\b\t\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\"\u0010#J\b\u0010\u0003\u001a\u00020\u0002H\u0002J\b\u0010\u0004\u001a\u00020\u0002H\u0002J\b\u0010\u0005\u001a\u00020\u0002H\u0002J\b\u0010\u0006\u001a\u00020\u0002H\u0007J\u001a\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\n0\u00072\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\b0\u0007J\u0014\u0010\r\u001a\u00020\f2\f\u0010\t\u001a\b\u0012\u0004\u0012\u00020\b0\u0007R\u0014\u0010\u0011\u001a\u00020\u000e8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u000f\u0010\u0010R\u0014\u0010\u0013\u001a\u00020\u000e8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0012\u0010\u0010R\u0014\u0010\u0015\u001a\u00020\u000e8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u0014\u0010\u0010R\u0011\u0010\u0017\u001a\u00020\u000e8F¢\u0006\u0006\u001a\u0004\b\u0016\u0010\u0010R\u0014\u0010\u0019\u001a\u00020\u00188\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u0019\u0010\u001aR\u0014\u0010\u001b\u001a\u00020\u00188\u0006X\u0086T¢\u0006\u0006\n\u0004\b\u001b\u0010\u001aR\u001c\u0010\u001e\u001a\n \u001d*\u0004\u0018\u00010\u001c0\u001c8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u001e\u0010\u001fR\u0016\u0010 \u001a\u00020\u00028\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b \u0010!¨\u0006$"}, d2 = {"Lg7/k$a;", "", "Lg7/k;", "f", "d", "e", "g", "", "Lw6/a0;", "protocols", "", "b", "", "c", "", "j", "()Z", "isConscryptPreferred", "k", "isOpenJSSEPreferred", "i", "isBouncyCastlePreferred", "h", "isAndroid", "", "INFO", "I", "WARN", "Ljava/util/logging/Logger;", "kotlin.jvm.PlatformType", "logger", "Ljava/util/logging/Logger;", "platform", "Lg7/k;", "<init>", "()V", "okhttp"}, k = 1, mv = {1, 6, LinearLayoutManager.HORIZONTAL})
    public static final class Companion {
        private Companion() {
        }

        public Companion(z3.g gVar) {
            this();
        }

        public final k g() {
            return k.f8060b;
        }

        private final k d() {
            h7.e.f8756a.b();
            k a8 = b.INSTANCE.a();
            if (a8 == null) {
                k a9 = c.f8032f.a();
                z3.k.c(a9);
                return a9;
            }
            return a8;
        }

        public final List<String> b(List<? extends a0> protocols) {
            int s7;
            boolean z7;
            z3.k.f(protocols, "protocols");
            ArrayList arrayList = new ArrayList();
            for (Object obj : protocols) {
                if (((a0) obj) != a0.HTTP_1_0) {
                    z7 = true;
                } else {
                    z7 = false;
                }
                if (z7) {
                    arrayList.add(obj);
                }
            }
            s7 = r.s(arrayList, 10);
            ArrayList arrayList2 = new ArrayList(s7);
            Iterator it = arrayList.iterator();
            while (it.hasNext()) {
                arrayList2.add(((a0) it.next()).toString());
            }
            return arrayList2;
        }

        public final byte[] c(List<? extends a0> protocols) {
            z3.k.f(protocols, "protocols");
            k7.b bVar = new k7.b();
            for (String str : b(protocols)) {
                bVar.R(str.length());
                bVar.t0(str);
            }
            return bVar.E0();
        }

        public final boolean h() {
            return z3.k.a("Dalvik", System.getProperty("java.vm.name"));
        }

        private final k e() {
            j a8;
            d a9;
            e b8;
            if (j() && (b8 = e.INSTANCE.b()) != null) {
                return b8;
            }
            if (i() && (a9 = d.INSTANCE.a()) != null) {
                return a9;
            }
            if (k() && (a8 = j.INSTANCE.a()) != null) {
                return a8;
            }
            i a10 = i.INSTANCE.a();
            if (a10 != null) {
                return a10;
            }
            k a11 = f.INSTANCE.a();
            if (a11 != null) {
                return a11;
            }
            return new k();
        }

        public final k f() {
            if (h()) {
                return d();
            }
            return e();
        }

        private final boolean i() {
            return z3.k.a("BC", Security.getProviders()[0].getName());
        }

        private final boolean j() {
            return z3.k.a("Conscrypt", Security.getProviders()[0].getName());
        }

        private final boolean k() {
            return z3.k.a("OpenJSSE", Security.getProviders()[0].getName());
        }
    }

    public static void k(k kVar, String str, int i8, Throwable th, int i9, Object obj) {
        if (obj != null) {
            throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: log");
        }
        if ((i9 & 2) != 0) {
            i8 = 4;
        }
        if ((i9 & 4) != 0) {
            th = null;
        }
        kVar.j(str, i8, th);
    }

    public void b(SSLSocket sSLSocket) {
        z3.k.f(sSLSocket, "sslSocket");
    }

    public void e(SSLSocket sSLSocket, String str, List<a0> list) {
        z3.k.f(sSLSocket, "sslSocket");
        z3.k.f(list, "protocols");
    }

    public String g(SSLSocket sslSocket) {
        z3.k.f(sslSocket, "sslSocket");
        return null;
    }

    public boolean i(String hostname) {
        z3.k.f(hostname, "hostname");
        return true;
    }

    public String toString() {
        String simpleName = getClass().getSimpleName();
        z3.k.e(simpleName, "javaClass.simpleName");
        return simpleName;
    }

    static {
        Companion companion = new Companion(null);
        INSTANCE = companion;
        f8060b = companion.f();
        f8061c = Logger.getLogger(z.class.getName());
    }

    public j7.c c(X509TrustManager trustManager) {
        z3.k.f(trustManager, QALqxpFtNki.iHIsDeejFvfOe);
        return new j7.a(d(trustManager));
    }

    public j7.e d(X509TrustManager trustManager) {
        z3.k.f(trustManager, "trustManager");
        X509Certificate[] acceptedIssuers = trustManager.getAcceptedIssuers();
        z3.k.e(acceptedIssuers, "trustManager.acceptedIssuers");
        return new j7.b((X509Certificate[]) Arrays.copyOf(acceptedIssuers, acceptedIssuers.length));
    }

    public void f(Socket socket, InetSocketAddress inetSocketAddress, int i8) {
        z3.k.f(socket, "socket");
        z3.k.f(inetSocketAddress, "address");
        socket.connect(inetSocketAddress, i8);
    }

    public Object h(String closer) {
        z3.k.f(closer, "closer");
        if (f8061c.isLoggable(Level.FINE)) {
            return new Throwable(closer);
        }
        return null;
    }

    public void j(String str, int i8, Throwable th) {
        Level level;
        z3.k.f(str, jABisTZYuzKsAS.IGNi);
        if (i8 == 5) {
            level = Level.WARNING;
        } else {
            level = Level.INFO;
        }
        f8061c.log(level, str, th);
    }

    public void l(String str, Object obj) {
        z3.k.f(str, "message");
        if (obj == null) {
            str = z3.k.l(str, " To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);");
        }
        j(str, 5, (Throwable) obj);
    }

    public SSLContext m() {
        SSLContext sSLContext = SSLContext.getInstance("TLS");
        z3.k.e(sSLContext, "getInstance(\"TLS\")");
        return sSLContext;
    }

    public SSLSocketFactory n(X509TrustManager trustManager) {
        z3.k.f(trustManager, YLaDcwOolmCZq.qyafrVMmrEKeB);
        try {
            SSLContext m8 = m();
            m8.init(null, new TrustManager[]{trustManager}, null);
            SSLSocketFactory socketFactory = m8.getSocketFactory();
            z3.k.e(socketFactory, "newSSLContext().apply {\n…ll)\n      }.socketFactory");
            return socketFactory;
        } catch (GeneralSecurityException e8) {
            throw new AssertionError(z3.k.l("No System TLS: ", e8), e8);
        }
    }

    public X509TrustManager o() {
        TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        trustManagerFactory.init((KeyStore) null);
        TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
        z3.k.c(trustManagers);
        boolean z7 = true;
        if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
            z7 = false;
        }
        if (z7) {
            TrustManager trustManager = trustManagers[0];
            if (trustManager != null) {
                return (X509TrustManager) trustManager;
            }
            throw new NullPointerException("null cannot be cast to non-null type javax.net.ssl.X509TrustManager");
        }
        String arrays = Arrays.toString(trustManagers);
        z3.k.e(arrays, "toString(this)");
        throw new IllegalStateException(z3.k.l("Unexpected default trust managers: ", arrays).toString());
    }
}