what-the-bank/sources/o/DeR.java

206 lines
7.3 KiB
Java

package o;
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 org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class DeR extends TypeAdapter implements HJa {
private PYE b;
private Gson d;
private InterfaceC15734iCu e;
public DeR(Gson gson, InterfaceC15734iCu interfaceC15734iCu, PYE pye) {
this.d = gson;
this.e = interfaceC15734iCu;
this.b = pye;
}
@Override // com.google.gson.TypeAdapter
public final void write(JsonWriter jsonWriter, Object obj) throws IOException {
if (obj == null) {
jsonWriter.nullValue();
return;
}
Xay xay = (Xay) obj;
Gson gson = this.d;
PYE pye = this.b;
jsonWriter.beginObject();
String str = xay.c;
pye.c(jsonWriter, 11);
String str2 = xay.c;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
String str3 = xay.b;
pye.c(jsonWriter, 337);
String str4 = xay.b;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
String str5 = xay.d;
pye.c(jsonWriter, 102);
String str6 = xay.d;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
String str7 = xay.a;
pye.c(jsonWriter, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256);
String str8 = xay.a;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
String str9 = xay.e;
pye.c(jsonWriter, CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256);
String str10 = xay.e;
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
String str11 = xay.f;
pye.c(jsonWriter, 536);
String str12 = xay.f;
DTh.b(gson, String.class, str12).write(jsonWriter, str12);
String str13 = xay.j;
pye.c(jsonWriter, 71);
String str14 = xay.j;
DTh.b(gson, String.class, str14).write(jsonWriter, str14);
String str15 = xay.g;
pye.c(jsonWriter, 373);
String str16 = xay.g;
DTh.b(gson, String.class, str16).write(jsonWriter, str16);
String str17 = xay.i;
pye.c(jsonWriter, 212);
String str18 = xay.i;
DTh.b(gson, String.class, str18).write(jsonWriter, str18);
String str19 = xay.h;
pye.c(jsonWriter, 117);
String str20 = xay.h;
DTh.b(gson, String.class, str20).write(jsonWriter, str20);
String str21 = xay.f8446o;
pye.c(jsonWriter, 360);
String str22 = xay.f8446o;
DTh.b(gson, String.class, str22).write(jsonWriter, str22);
String str23 = xay.k;
pye.c(jsonWriter, 221);
String str24 = xay.k;
DTh.b(gson, String.class, str24).write(jsonWriter, str24);
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;
}
Xay xay = new Xay();
Gson gson = this.d;
InterfaceC15734iCu interfaceC15734iCu = this.e;
jsonReader.beginObject();
while (jsonReader.hasNext()) {
int e = interfaceC15734iCu.e(jsonReader);
boolean z = jsonReader.peek() != JsonToken.NULL;
switch (e) {
case 57:
if (!z) {
xay.f = null;
break;
} else {
xay.f = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 102:
if (!z) {
xay.e = null;
break;
} else {
xay.e = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 /* 172 */:
case 227:
if (!z) {
xay.d = null;
break;
} else {
xay.d = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 230:
if (!z) {
xay.g = null;
break;
} else {
xay.g = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 256:
if (!z) {
xay.i = null;
break;
} else {
xay.i = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 299:
if (!z) {
xay.a = null;
break;
} else {
xay.a = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 309:
if (!z) {
xay.b = null;
break;
} else {
xay.b = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 359:
if (!z) {
xay.j = null;
break;
} else {
xay.j = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 452:
if (!z) {
xay.c = null;
break;
} else {
xay.c = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 457:
if (!z) {
xay.f8446o = null;
break;
} else {
xay.f8446o = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 459:
if (!z) {
xay.h = null;
break;
} else {
xay.h = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
case 552:
if (!z) {
xay.k = null;
break;
} else {
xay.k = (String) gson.getAdapter(String.class).read2(jsonReader);
break;
}
default:
jsonReader.skipValue();
continue;
}
jsonReader.nextNull();
}
jsonReader.endObject();
return xay;
}
}