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

37 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
/* renamed from: o.ga, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C14848ga implements InterfaceC13213fU {
private final InterfaceC13144fS a;
public C14848ga(InterfaceC13144fS interfaceC13144fS) {
C14957gcv.e(interfaceC13144fS, "");
this.a = interfaceC13144fS;
}
@Override // o.InterfaceC13213fU
public final <T extends Ipm> T e(T t, String str) {
C14957gcv.e(t, "");
C14957gcv.e(str, "");
String a = t.a();
String c = t.c();
guQ.e("Validate signature %s of %s", c, a);
InterfaceC13144fS interfaceC13144fS = this.a;
byte[] bytes = a.getBytes(gdP.a);
C14957gcv.c(bytes, "");
if (C14957gcv.b((Object) c, (Object) interfaceC13144fS.c(bytes, str))) {
return t;
}
ggV ggv = new ggV();
ggv.e = "1899";
VCl vCl = new VCl();
vCl.c = ggv;
RetrofitException c2 = RetrofitException.c(vCl);
C14957gcv.c((Object) c2, "");
throw c2;
}
}