正在查看: 万能钥匙 v1.1.23 应用的 x.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 万能钥匙 v1.1.23 应用的 x.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.finogeeks.lib.applet.f.c;
import com.finogeeks.lib.applet.f.c.c0;
import com.finogeeks.lib.applet.f.c.e;
import com.finogeeks.lib.applet.f.c.g0;
import com.finogeeks.lib.applet.f.c.p;
import com.finogeeks.lib.applet.f.c.s;
import com.finogeeks.lib.applet.model.Error;
import java.net.Proxy;
import java.net.ProxySelector;
import java.net.Socket;
import java.security.GeneralSecurityException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import javax.net.SocketFactory;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
public class x implements Cloneable, e.a, g0.a {
static final List<y> B = com.finogeeks.lib.applet.f.c.i0.c.a(y.HTTP_2, y.HTTP_1_1);
static final List<k> C = com.finogeeks.lib.applet.f.c.i0.c.a(k.g, k.i);
final int A;
final n a;
final Proxy b;
final List<y> c;
final List<k> d;
final List<u> e;
final List<u> f;
final p.c g;
final ProxySelector h;
final m i;
final c j;
final com.finogeeks.lib.applet.f.c.i0.e.d k;
final SocketFactory l;
final SSLSocketFactory m;
final com.finogeeks.lib.applet.f.c.i0.k.c n;
final HostnameVerifier o;
final g p;
final com.finogeeks.lib.applet.f.c.b q;
final com.finogeeks.lib.applet.f.c.b r;
final j s;
final o t;
final boolean u;
final boolean v;
final boolean w;
final int x;
final int f92y;
final int f93z;
public static final class a extends com.finogeeks.lib.applet.f.c.i0.a {
@Override
public int a(c0.a aVar) {
return aVar.c;
}
@Override
public e a(x xVar, a0 a0Var) {
return z.a(xVar, a0Var, true);
}
@Override
public com.finogeeks.lib.applet.f.c.i0.f.c a(j jVar, com.finogeeks.lib.applet.f.c.a aVar, com.finogeeks.lib.applet.f.c.i0.f.g gVar, e0 e0Var) {
return jVar.a(aVar, gVar, e0Var);
}
@Override
public com.finogeeks.lib.applet.f.c.i0.f.d a(j jVar) {
return jVar.e;
}
@Override
public com.finogeeks.lib.applet.f.c.i0.f.g a(e eVar) {
return ((z) eVar).g();
}
@Override
public Socket a(j jVar, com.finogeeks.lib.applet.f.c.a aVar, com.finogeeks.lib.applet.f.c.i0.f.g gVar) {
return jVar.a(aVar, gVar);
}
@Override
public void a(k kVar, SSLSocket sSLSocket, boolean z10) {
kVar.a(sSLSocket, z10);
}
@Override
public void a(s.a aVar, String str) {
aVar.a(str);
}
@Override
public void a(s.a aVar, String str, String str2) {
aVar.b(str, str2);
}
@Override
public boolean a(com.finogeeks.lib.applet.f.c.a aVar, com.finogeeks.lib.applet.f.c.a aVar2) {
return aVar.a(aVar2);
}
@Override
public boolean a(j jVar, com.finogeeks.lib.applet.f.c.i0.f.c cVar) {
return jVar.a(cVar);
}
@Override
public void b(j jVar, com.finogeeks.lib.applet.f.c.i0.f.c cVar) {
jVar.b(cVar);
}
}
public static final class b {
int A;
n a;
Proxy b;
List<y> c;
List<k> d;
final List<u> e;
final List<u> f;
p.c g;
ProxySelector h;
m i;
c j;
com.finogeeks.lib.applet.f.c.i0.e.d k;
SocketFactory l;
SSLSocketFactory m;
com.finogeeks.lib.applet.f.c.i0.k.c n;
HostnameVerifier o;
g p;
com.finogeeks.lib.applet.f.c.b q;
com.finogeeks.lib.applet.f.c.b r;
j s;
o t;
boolean u;
boolean v;
boolean w;
int x;
int f94y;
int f95z;
public b() {
this.e = new ArrayList();
this.f = new ArrayList();
this.a = new n();
this.c = x.B;
this.d = x.C;
this.g = p.a(p.a);
this.h = ProxySelector.getDefault();
this.i = m.a;
this.l = SocketFactory.getDefault();
this.o = com.finogeeks.lib.applet.f.c.i0.k.d.a;
this.p = g.c;
com.finogeeks.lib.applet.f.c.b bVar = com.finogeeks.lib.applet.f.c.b.a;
this.q = bVar;
this.r = bVar;
this.s = new j();
this.t = o.a;
this.u = true;
this.v = true;
this.w = true;
this.x = Error.ErrorCodeSDKInitFail;
this.f94y = Error.ErrorCodeSDKInitFail;
this.f95z = Error.ErrorCodeSDKInitFail;
this.A = 0;
}
public b(x xVar) {
ArrayList arrayList = new ArrayList();
this.e = arrayList;
ArrayList arrayList2 = new ArrayList();
this.f = arrayList2;
this.a = xVar.a;
this.b = xVar.b;
this.c = xVar.c;
this.d = xVar.d;
arrayList.addAll(xVar.e);
arrayList2.addAll(xVar.f);
this.g = xVar.g;
this.h = xVar.h;
this.i = xVar.i;
this.k = xVar.k;
this.j = xVar.j;
this.l = xVar.l;
this.m = xVar.m;
this.n = xVar.n;
this.o = xVar.o;
this.p = xVar.p;
this.q = xVar.q;
this.r = xVar.r;
this.s = xVar.s;
this.t = xVar.t;
this.u = xVar.u;
this.v = xVar.v;
this.w = xVar.w;
this.x = xVar.x;
this.f94y = xVar.f92y;
this.f95z = xVar.f93z;
this.A = xVar.A;
}
public b a(long j, TimeUnit timeUnit) {
this.x = com.finogeeks.lib.applet.f.c.i0.c.a("timeout", j, timeUnit);
return this;
}
public b a(j jVar) {
if (jVar == null) {
throw new NullPointerException("connectionPool == null");
}
this.s = jVar;
return this;
}
public b a(m mVar) {
if (mVar == null) {
throw new NullPointerException("cookieJar == null");
}
this.i = mVar;
return this;
}
public b a(o oVar) {
if (oVar == null) {
throw new NullPointerException("dns == null");
}
this.t = oVar;
return this;
}
public b a(p pVar) {
if (pVar == null) {
throw new NullPointerException("eventListener == null");
}
this.g = p.a(pVar);
return this;
}
public b a(u uVar) {
if (uVar == null) {
throw new IllegalArgumentException("interceptor == null");
}
this.e.add(uVar);
return this;
}
public b a(Proxy proxy) {
this.b = proxy;
return this;
}
public b a(ProxySelector proxySelector) {
this.h = proxySelector;
return this;
}
public b a(List<k> list) {
this.d = com.finogeeks.lib.applet.f.c.i0.c.a(list);
return this;
}
public b a(SocketFactory socketFactory) {
if (socketFactory == null) {
throw new NullPointerException("socketFactory == null");
}
this.l = socketFactory;
return this;
}
public b a(HostnameVerifier hostnameVerifier) {
if (hostnameVerifier == null) {
throw new NullPointerException("hostnameVerifier == null");
}
this.o = hostnameVerifier;
return this;
}
public b a(SSLSocketFactory sSLSocketFactory) {
if (sSLSocketFactory == null) {
throw new NullPointerException("sslSocketFactory == null");
}
this.m = sSLSocketFactory;
this.n = com.finogeeks.lib.applet.f.c.i0.j.f.c().a(sSLSocketFactory);
return this;
}
public b a(SSLSocketFactory sSLSocketFactory, X509TrustManager x509TrustManager) {
if (sSLSocketFactory == null) {
throw new NullPointerException("sslSocketFactory == null");
}
if (x509TrustManager == null) {
throw new NullPointerException("trustManager == null");
}
this.m = sSLSocketFactory;
this.n = com.finogeeks.lib.applet.f.c.i0.k.c.a(x509TrustManager);
return this;
}
public b a(boolean z10) {
this.v = z10;
return this;
}
public x a() {
return new x(this);
}
public b b(long j, TimeUnit timeUnit) {
this.A = com.finogeeks.lib.applet.f.c.i0.c.a("interval", j, timeUnit);
return this;
}
public b b(u uVar) {
if (uVar == null) {
throw new IllegalArgumentException("interceptor == null");
}
this.f.add(uVar);
return this;
}
public b b(List<y> list) {
ArrayList arrayList = new ArrayList(list);
y yVar = y.H2_PRIOR_KNOWLEDGE;
if (!arrayList.contains(yVar) && !arrayList.contains(y.HTTP_1_1)) {
throw new IllegalArgumentException("protocols must contain h2_prior_knowledge or http/1.1: " + arrayList);
}
if (arrayList.contains(yVar) && arrayList.size() > 1) {
throw new IllegalArgumentException("protocols containing h2_prior_knowledge cannot use other protocols: " + arrayList);
}
if (arrayList.contains(y.HTTP_1_0)) {
throw new IllegalArgumentException("protocols must not contain http/1.0: " + arrayList);
}
if (arrayList.contains(null)) {
throw new IllegalArgumentException("protocols must not contain null");
}
arrayList.remove(y.SPDY_3);
this.c = Collections.unmodifiableList(arrayList);
return this;
}
public b c(long j, TimeUnit timeUnit) {
this.f94y = com.finogeeks.lib.applet.f.c.i0.c.a("timeout", j, timeUnit);
return this;
}
public b d(long j, TimeUnit timeUnit) {
this.f95z = com.finogeeks.lib.applet.f.c.i0.c.a("timeout", j, timeUnit);
return this;
}
}
static {
com.finogeeks.lib.applet.f.c.i0.a.a = new a();
}
public x() {
this(new b());
}
public x(b bVar) {
boolean z10;
this.a = bVar.a;
this.b = bVar.b;
this.c = bVar.c;
List<k> list = bVar.d;
this.d = list;
this.e = com.finogeeks.lib.applet.f.c.i0.c.a(bVar.e);
this.f = com.finogeeks.lib.applet.f.c.i0.c.a(bVar.f);
this.g = bVar.g;
this.h = bVar.h;
this.i = bVar.i;
this.j = bVar.j;
this.k = bVar.k;
this.l = bVar.l;
Iterator<k> it = list.iterator();
loop0: while (true) {
while (it.hasNext()) {
z10 = z10 || it.next().b();
}
}
SSLSocketFactory sSLSocketFactory = bVar.m;
if (sSLSocketFactory == null && z10) {
X509TrustManager a2 = com.finogeeks.lib.applet.f.c.i0.c.a();
this.m = a(a2);
this.n = com.finogeeks.lib.applet.f.c.i0.k.c.a(a2);
} else {
this.m = sSLSocketFactory;
this.n = bVar.n;
}
if (this.m != null) {
com.finogeeks.lib.applet.f.c.i0.j.f.c().b(this.m);
}
this.o = bVar.o;
this.p = bVar.p.a(this.n);
this.q = bVar.q;
this.r = bVar.r;
this.s = bVar.s;
this.t = bVar.t;
this.u = bVar.u;
this.v = bVar.v;
this.w = bVar.w;
this.x = bVar.x;
this.f92y = bVar.f94y;
this.f93z = bVar.f95z;
this.A = bVar.A;
if (this.e.contains(null)) {
throw new IllegalStateException("Null interceptor: " + this.e);
}
if (this.f.contains(null)) {
throw new IllegalStateException("Null network interceptor: " + this.f);
}
}
private static SSLSocketFactory a(X509TrustManager x509TrustManager) {
try {
SSLContext a2 = com.finogeeks.lib.applet.f.c.i0.j.f.c().a();
a2.init(null, new TrustManager[]{x509TrustManager}, null);
return a2.getSocketFactory();
} catch (GeneralSecurityException e) {
throw com.finogeeks.lib.applet.f.c.i0.c.a("No System TLS", (Exception) e);
}
}
public boolean A() {
return this.w;
}
public SocketFactory B() {
return this.l;
}
public SSLSocketFactory C() {
return this.m;
}
public int D() {
return this.f93z;
}
@Override
public e a(a0 a0Var) {
return z.a(this, a0Var, false);
}
public g0 a(a0 a0Var, h0 h0Var) {
com.finogeeks.lib.applet.f.c.i0.l.a aVar = new com.finogeeks.lib.applet.f.c.i0.l.a(a0Var, h0Var, new Random(), this.A);
aVar.a(this);
return aVar;
}
public com.finogeeks.lib.applet.f.c.b e() {
return this.r;
}
public g f() {
return this.p;
}
public int g() {
return this.x;
}
public j h() {
return this.s;
}
public List<k> i() {
return this.d;
}
public m j() {
return this.i;
}
public n k() {
return this.a;
}
public o l() {
return this.t;
}
public p.c m() {
return this.g;
}
public boolean n() {
return this.v;
}
public boolean o() {
return this.u;
}
public HostnameVerifier p() {
return this.o;
}
public List<u> q() {
return this.e;
}
public com.finogeeks.lib.applet.f.c.i0.e.d r() {
c cVar = this.j;
return cVar != null ? cVar.a : this.k;
}
public List<u> s() {
return this.f;
}
public b t() {
return new b(this);
}
public int u() {
return this.A;
}
public List<y> v() {
return this.c;
}
public Proxy w() {
return this.b;
}
public com.finogeeks.lib.applet.f.c.b x() {
return this.q;
}
public ProxySelector y() {
return this.h;
}
public int z() {
return this.f92y;
}
}