正在查看: Easycash v3.75.13 应用的 IPConfiguration.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Easycash v3.75.13 应用的 IPConfiguration.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.ipification.mobile.sdk.android;
import android.net.Uri;
import android.util.Base64;
import androidx.annotation.Keep;
import com.google.android.gms.fido.fido2.api.common.UserVerificationMethods;
import java.security.SecureRandom;
import kotlin.Metadata;
import kotlin.jvm.JvmStatic;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@Metadata
public final class IPConfiguration {
@NotNull
public static final Companion I = new Companion(null);
@Nullable
private Uri A;
private long B;
private long C;
private long D;
private long E;
private int F;
private int G;
@NotNull
private String H;
@NotNull
private String a;
@NotNull
private String b;
@NotNull
private String c;
@NotNull
private String d;
@NotNull
private IPEnvironment e;
private boolean f;
private long g;
@NotNull
private String[] h;
private final boolean i;
@Nullable
private Boolean j;
private int k;
private boolean f492l;
private boolean f493m;
private boolean f494n;
private boolean f495o;
@NotNull
private String f496p;
@NotNull
private String f497q;
@Nullable
private Uri f498r;
@NotNull
private String f499s;
@NotNull
private String f500t;
@NotNull
private String f501u;
@NotNull
private String f502v;
@NotNull
private String f503w;
@Nullable
private Uri f504x;
@Nullable
private Uri y;
@Nullable
private Uri z;
@Keep
@Metadata
public static final class Companion {
private Companion() {
}
public Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
@JvmStatic
@NotNull
public final IPConfiguration getInstance() {
return Holder.a.a();
}
}
@Metadata
public static final class Holder {
@NotNull
public static final Holder a = new Holder();
@NotNull
private static final IPConfiguration b = new IPConfiguration(null);
private Holder() {
}
@NotNull
public final IPConfiguration a() {
return b;
}
}
private IPConfiguration() {
this.a = "com.whatsapp";
this.b = "org.telegram.messenger";
this.c = "org.telegram.messenger.web";
this.d = "com.viber.voip";
this.e = IPEnvironment.SANDBOX;
this.g = 2000L;
this.h = new String[0];
this.i = true;
this.k = UserVerificationMethods.USER_VERIFY_PATTERN;
this.f494n = true;
this.f496p = "ipification-services.json";
this.f497q = "";
this.f499s = "https://stage.ipification.com";
this.f500t = "https://api.ipification.com";
this.f501u = "/auth/realms/ipification/coverage";
this.f502v = "/auth/realms/ipification/protocol/openid-connect/auth";
this.f503w = "https://stage.ipification.com";
this.B = 10000L;
this.C = 10000L;
this.D = 10000L;
this.E = 10000L;
this.F = 9009;
this.G = 2101;
this.H = "ipconsent001eng";
}
@JvmStatic
@NotNull
public static final IPConfiguration w() {
return I.getInstance();
}
public final boolean A() {
return this.f495o;
}
@NotNull
public final String B() {
return this.b;
}
@NotNull
public final String C() {
return this.c;
}
public final boolean D() {
return this.f494n;
}
@NotNull
public final String E() {
return this.d;
}
@NotNull
public final String F() {
return this.a;
}
public final void G(@Nullable Uri uri) {
this.z = uri;
}
public final void H(@NotNull String str) {
Intrinsics.checkNotNullParameter(str, "<set-?>");
this.f497q = str;
}
public final void I(@Nullable Uri uri) {
this.f504x = uri;
}
public final void J(@NotNull IPEnvironment iPEnvironment) {
Intrinsics.checkNotNullParameter(iPEnvironment, "<set-?>");
this.e = iPEnvironment;
}
public final void K(@Nullable Boolean bool) {
this.j = bool;
}
public final void L(@Nullable Uri uri) {
this.f498r = uri;
}
@NotNull
public final String a() {
SecureRandom secureRandom = new SecureRandom();
byte[] bArr = new byte[this.k];
secureRandom.nextBytes(bArr);
String encodeToString = Base64.encodeToString(bArr, 11);
int length = encodeToString.length();
int i = this.k;
Intrinsics.checkNotNullExpressionValue(encodeToString, "result");
if (length <= i) {
return encodeToString;
}
String substring = encodeToString.substring(0, this.k);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
return substring;
}
@Nullable
public final Uri b() {
return this.z;
}
public final long c() {
return this.E;
}
public final long d() {
return this.D;
}
@NotNull
public final String e() {
return Intrinsics.m(t(), this.f502v);
}
@NotNull
public final String f() {
return this.f497q;
}
@NotNull
public final String g() {
return this.H;
}
public final long h() {
return this.C;
}
public final long i() {
return this.B;
}
@Nullable
public final Uri j() {
return this.f504x;
}
@Nullable
public final Uri k() {
return this.A;
}
@Nullable
public final Uri l() {
return this.y;
}
@NotNull
public final String m() {
return Intrinsics.m(t(), this.f501u);
}
@NotNull
public final String n() {
return this.f496p;
}
public final boolean o() {
return this.f492l;
}
public final boolean p() {
return this.i;
}
@NotNull
public final IPEnvironment q() {
return this.e;
}
@Nullable
public final Boolean r() {
return this.j;
}
public final boolean s() {
return this.f493m;
}
@NotNull
public final String t() {
this.f503w = this.e == IPEnvironment.SANDBOX ? this.f499s : this.f500t;
return this.f503w;
}
public final boolean u() {
return this.f;
}
@NotNull
public final String[] v() {
return this.h;
}
public final int x() {
return this.F;
}
@Nullable
public final Uri y() {
return this.f498r;
}
public final int z() {
return this.G;
}
public IPConfiguration(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}