我要上王者 v1.1版本的 MD5 值为:b7d3566522def961cabeb92cb17f5db9
以下内容为反编译后的 o8.java 源代码,内容仅作参考
package verifysdk;
import android.text.TextUtils;
import bz.sdk.okhttp3.d;
import java.security.KeyManagementException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.TimeUnit;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
public final class o8 {
public static final int f7037a = 0;
public interface a {
}
static {
f0.f6918a.booleanValue();
}
public static void a(boolean z, boolean z2) {
String str;
if (z) {
str = "http://gateway.dev.7723api.com/v3/";
} else {
str = "http://m.gateway.7723api.com/v3/";
}
r.d = str;
e2.f6906a = z2;
try {
h9.f6941b = 1;
} catch (Exception e) {
e.printStackTrace();
}
if (TextUtils.isEmpty(h9.c)) {
h9.c = "web";
}
try {
SSLContext sSLContext = SSLContext.getInstance("TLS");
p5 p5Var = new p5();
sSLContext.init(null, new TrustManager[]{p5Var}, null);
SSLSocketFactory socketFactory = sSLContext.getSocketFactory();
d.b bVar = new d.b();
TimeUnit timeUnit = TimeUnit.MILLISECONDS;
bVar.v = d.b.a(15000L, timeUnit);
bVar.w = d.b.a(15000L, timeUnit);
if (socketFactory != null) {
bVar.k = socketFactory;
bVar.l = k9.f6983a.c(p5Var);
bVar.m = new HostnameVerifier() {
@Override
public final boolean verify(String str2, SSLSession sSLSession) {
int i = o8.f7037a;
return true;
}
};
u8.a(new bz.sdk.okhttp3.d(bVar));
return;
}
throw new NullPointerException("sslSocketFactory == null");
} catch (KeyManagementException e2) {
throw new AssertionError(e2);
} catch (KeyStoreException e3) {
throw new AssertionError(e3);
} catch (NoSuchAlgorithmException e4) {
throw new AssertionError(e4);
}
}
}