437 lines
16 KiB
Java
437 lines
16 KiB
Java
package o;
|
|
|
|
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.tagmanager.ModuleDescriptor;
|
|
import com.google.gson.Gson;
|
|
import com.google.gson.TypeAdapter;
|
|
import com.google.gson.stream.JsonReader;
|
|
import com.google.gson.stream.JsonToken;
|
|
import com.google.gson.stream.JsonWriter;
|
|
import java.io.IOException;
|
|
import java.util.List;
|
|
import org.bouncycastle.asn1.x509.DisplayText;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
import org.bouncycastle.math.Primes;
|
|
|
|
/* renamed from: o.dkX, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C9479dkX extends TypeAdapter implements HJa {
|
|
private PYE a;
|
|
private Gson c;
|
|
private InterfaceC15734iCu d;
|
|
|
|
public C9479dkX(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
|
|
this.c = gson;
|
|
this.d = interfaceC15734iCu;
|
|
this.a = pye;
|
|
}
|
|
|
|
@Override // com.google.gson.TypeAdapter
|
|
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
|
|
if (obj == null) {
|
|
jsonWriter.nullValue();
|
|
return;
|
|
}
|
|
Rgo rgo = (Rgo) obj;
|
|
Gson gson = this.c;
|
|
PYE pye = this.a;
|
|
jsonWriter.beginObject();
|
|
if (rgo != rgo.c) {
|
|
pye.c(jsonWriter, 632);
|
|
String str = rgo.c;
|
|
DTh.b(gson, String.class, str).write(jsonWriter, str);
|
|
}
|
|
if (rgo != rgo.a) {
|
|
pye.c(jsonWriter, CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256);
|
|
YMu yMu = rgo.a;
|
|
DTh.b(gson, YMu.class, yMu).write(jsonWriter, yMu);
|
|
}
|
|
if (rgo != rgo.b) {
|
|
pye.c(jsonWriter, 410);
|
|
String str2 = rgo.b;
|
|
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
|
|
}
|
|
if (rgo != rgo.d) {
|
|
pye.c(jsonWriter, 274);
|
|
UEy uEy = new UEy();
|
|
List<C14264fpt> list = rgo.d;
|
|
DTh.a(gson, uEy, list).write(jsonWriter, list);
|
|
}
|
|
if (rgo != rgo.e) {
|
|
pye.c(jsonWriter, 295);
|
|
String str3 = rgo.e;
|
|
DTh.b(gson, String.class, str3).write(jsonWriter, str3);
|
|
}
|
|
if (rgo != rgo.i) {
|
|
pye.c(jsonWriter, 535);
|
|
String str4 = rgo.i;
|
|
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
|
|
}
|
|
pye.c(jsonWriter, 21);
|
|
Class cls = Integer.TYPE;
|
|
Integer valueOf = Integer.valueOf(rgo.g);
|
|
DTh.b(gson, cls, valueOf).write(jsonWriter, valueOf);
|
|
pye.c(jsonWriter, 427);
|
|
Class cls2 = Integer.TYPE;
|
|
Integer valueOf2 = Integer.valueOf(rgo.h);
|
|
DTh.b(gson, cls2, valueOf2).write(jsonWriter, valueOf2);
|
|
pye.c(jsonWriter, 47);
|
|
Class cls3 = Integer.TYPE;
|
|
Integer valueOf3 = Integer.valueOf(rgo.f);
|
|
DTh.b(gson, cls3, valueOf3).write(jsonWriter, valueOf3);
|
|
pye.c(jsonWriter, 350);
|
|
Class cls4 = Integer.TYPE;
|
|
Integer valueOf4 = Integer.valueOf(rgo.j);
|
|
DTh.b(gson, cls4, valueOf4).write(jsonWriter, valueOf4);
|
|
if (rgo != rgo.k) {
|
|
pye.c(jsonWriter, 633);
|
|
String str5 = rgo.k;
|
|
DTh.b(gson, String.class, str5).write(jsonWriter, str5);
|
|
}
|
|
if (rgo != rgo.l) {
|
|
pye.c(jsonWriter, 33);
|
|
String str6 = rgo.l;
|
|
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
|
|
}
|
|
if (rgo != rgo.f8346o) {
|
|
pye.c(jsonWriter, 505);
|
|
String str7 = rgo.f8346o;
|
|
DTh.b(gson, String.class, str7).write(jsonWriter, str7);
|
|
}
|
|
pye.c(jsonWriter, 575);
|
|
Class cls5 = Integer.TYPE;
|
|
Integer valueOf5 = Integer.valueOf(rgo.n);
|
|
DTh.b(gson, cls5, valueOf5).write(jsonWriter, valueOf5);
|
|
pye.c(jsonWriter, 348);
|
|
Class cls6 = Integer.TYPE;
|
|
Integer valueOf6 = Integer.valueOf(rgo.m);
|
|
DTh.b(gson, cls6, valueOf6).write(jsonWriter, valueOf6);
|
|
if (rgo != rgo.p) {
|
|
pye.c(jsonWriter, 649);
|
|
String str8 = rgo.p;
|
|
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
|
|
}
|
|
pye.c(jsonWriter, 280);
|
|
Class cls7 = Integer.TYPE;
|
|
Integer valueOf7 = Integer.valueOf(rgo.t);
|
|
DTh.b(gson, cls7, valueOf7).write(jsonWriter, valueOf7);
|
|
if (rgo != rgo.r) {
|
|
pye.c(jsonWriter, 614);
|
|
String str9 = rgo.r;
|
|
DTh.b(gson, String.class, str9).write(jsonWriter, str9);
|
|
}
|
|
pye.c(jsonWriter, 66);
|
|
Class cls8 = Long.TYPE;
|
|
Long valueOf8 = Long.valueOf(rgo.s);
|
|
DTh.b(gson, cls8, valueOf8).write(jsonWriter, valueOf8);
|
|
if (rgo != rgo.q) {
|
|
pye.c(jsonWriter, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384);
|
|
String str10 = rgo.q;
|
|
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
|
|
}
|
|
if (rgo != rgo.v) {
|
|
pye.c(jsonWriter, 51);
|
|
String str11 = rgo.v;
|
|
DTh.b(gson, String.class, str11).write(jsonWriter, str11);
|
|
}
|
|
if (rgo != rgo.y) {
|
|
pye.c(jsonWriter, 442);
|
|
String str12 = rgo.y;
|
|
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
|
|
}
|
|
if (rgo != rgo.w) {
|
|
pye.c(jsonWriter, 135);
|
|
String str13 = rgo.w;
|
|
DTh.b(gson, String.class, str13).write(jsonWriter, str13);
|
|
}
|
|
if (rgo != rgo.u) {
|
|
pye.c(jsonWriter, 107);
|
|
String str14 = rgo.u;
|
|
DTh.b(gson, String.class, str14).write(jsonWriter, str14);
|
|
}
|
|
pye.c(jsonWriter, ModuleDescriptor.MODULE_VERSION);
|
|
Class cls9 = Integer.TYPE;
|
|
Integer valueOf9 = Integer.valueOf(rgo.x);
|
|
DTh.b(gson, cls9, valueOf9).write(jsonWriter, valueOf9);
|
|
pye.c(jsonWriter, CipherSuite.TLS_RSA_PSK_WITH_AES_256_GCM_SHA384);
|
|
Class cls10 = Integer.TYPE;
|
|
Integer valueOf10 = Integer.valueOf(rgo.D);
|
|
DTh.b(gson, cls10, valueOf10).write(jsonWriter, valueOf10);
|
|
if (rgo != rgo.C) {
|
|
pye.c(jsonWriter, 245);
|
|
String str15 = rgo.C;
|
|
DTh.b(gson, String.class, str15).write(jsonWriter, str15);
|
|
}
|
|
if (rgo != rgo.B) {
|
|
pye.c(jsonWriter, 358);
|
|
String str16 = rgo.B;
|
|
DTh.b(gson, String.class, str16).write(jsonWriter, str16);
|
|
}
|
|
if (rgo != rgo.z) {
|
|
pye.c(jsonWriter, 311);
|
|
String str17 = rgo.z;
|
|
DTh.b(gson, String.class, str17).write(jsonWriter, str17);
|
|
}
|
|
if (rgo != rgo.A) {
|
|
pye.c(jsonWriter, 255);
|
|
String str18 = rgo.A;
|
|
DTh.b(gson, String.class, str18).write(jsonWriter, str18);
|
|
}
|
|
jsonWriter.endObject();
|
|
}
|
|
|
|
@Override // com.google.gson.TypeAdapter
|
|
/* renamed from: read */
|
|
public final Object read2(JsonReader jsonReader) throws IOException {
|
|
if (jsonReader.peek() == JsonToken.NULL) {
|
|
jsonReader.skipValue();
|
|
return null;
|
|
}
|
|
Rgo rgo = new Rgo();
|
|
Gson gson = this.c;
|
|
InterfaceC15734iCu interfaceC15734iCu = this.d;
|
|
jsonReader.beginObject();
|
|
while (jsonReader.hasNext()) {
|
|
int e = interfaceC15734iCu.e(jsonReader);
|
|
boolean z = jsonReader.peek() != JsonToken.NULL;
|
|
switch (e) {
|
|
case 1:
|
|
if (!z) {
|
|
rgo.B = null;
|
|
break;
|
|
} else {
|
|
rgo.B = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 10:
|
|
if (!z) {
|
|
rgo.p = null;
|
|
break;
|
|
} else {
|
|
rgo.p = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 62:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.s = ((Long) gson.getAdapter(Long.class).read2(jsonReader)).longValue();
|
|
break;
|
|
}
|
|
case 70:
|
|
if (!z) {
|
|
rgo.A = null;
|
|
break;
|
|
} else {
|
|
rgo.A = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 123:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.n = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 129:
|
|
if (!z) {
|
|
rgo.z = null;
|
|
break;
|
|
} else {
|
|
rgo.z = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA /* 145 */:
|
|
if (!z) {
|
|
rgo.u = null;
|
|
break;
|
|
} else {
|
|
rgo.u = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 160:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.h = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 /* 170 */:
|
|
if (!z) {
|
|
rgo.b = null;
|
|
break;
|
|
} else {
|
|
rgo.b = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256 /* 184 */:
|
|
if (!z) {
|
|
rgo.c = null;
|
|
break;
|
|
} else {
|
|
rgo.c = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE /* 200 */:
|
|
if (!z) {
|
|
rgo.y = null;
|
|
break;
|
|
} else {
|
|
rgo.y = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case Primes.SMALL_FACTOR_LIMIT /* 211 */:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.m = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 252:
|
|
if (!z) {
|
|
rgo.d = null;
|
|
break;
|
|
} else {
|
|
rgo.d = (List) gson.getAdapter(new UEy()).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 326:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.D = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 368:
|
|
if (!z) {
|
|
rgo.C = null;
|
|
break;
|
|
} else {
|
|
rgo.C = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 435:
|
|
if (!z) {
|
|
rgo.w = null;
|
|
break;
|
|
} else {
|
|
rgo.w = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 466:
|
|
if (!z) {
|
|
rgo.l = null;
|
|
break;
|
|
} else {
|
|
rgo.l = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 479:
|
|
if (!z) {
|
|
rgo.a = null;
|
|
break;
|
|
} else {
|
|
rgo.a = (YMu) gson.getAdapter(YMu.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 490:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.x = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 521:
|
|
if (!z) {
|
|
rgo.r = null;
|
|
break;
|
|
} else {
|
|
rgo.r = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 525:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.g = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 537:
|
|
if (!z) {
|
|
rgo.k = null;
|
|
break;
|
|
} else {
|
|
rgo.k = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 543:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.j = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 544:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.f = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 578:
|
|
if (!z) {
|
|
rgo.v = null;
|
|
break;
|
|
} else {
|
|
rgo.v = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 593:
|
|
if (!z) {
|
|
rgo.i = null;
|
|
break;
|
|
} else {
|
|
rgo.i = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 612:
|
|
if (!z) {
|
|
rgo.q = null;
|
|
break;
|
|
} else {
|
|
rgo.q = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 630:
|
|
if (!z) {
|
|
break;
|
|
} else {
|
|
rgo.t = ((Integer) gson.getAdapter(Integer.class).read2(jsonReader)).intValue();
|
|
break;
|
|
}
|
|
case 652:
|
|
if (!z) {
|
|
rgo.e = null;
|
|
break;
|
|
} else {
|
|
rgo.e = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
case 681:
|
|
if (!z) {
|
|
rgo.f8346o = null;
|
|
break;
|
|
} else {
|
|
rgo.f8346o = (String) gson.getAdapter(String.class).read2(jsonReader);
|
|
break;
|
|
}
|
|
default:
|
|
jsonReader.skipValue();
|
|
continue;
|
|
}
|
|
jsonReader.nextNull();
|
|
}
|
|
jsonReader.endObject();
|
|
return rgo;
|
|
}
|
|
}
|