Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzgnb.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

43 lines
1.7 KiB
Java

package com.google.android.gms.internal.ads;
import java.security.GeneralSecurityException;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes3.dex */
public final class zzgnb {
private final Map zza;
private final Map zzb;
public /* synthetic */ zzgnb(zzgmy zzgmyVar, zzgna zzgnaVar) {
this.zza = new HashMap(zzgmyVar.zza);
this.zzb = new HashMap(zzgmyVar.zzb);
}
public final Class zza(Class cls) throws GeneralSecurityException {
if (this.zzb.containsKey(cls)) {
return ((zzgng) this.zzb.get(cls)).zza();
}
throw new GeneralSecurityException("No input primitive class for " + cls.toString() + " available");
}
public final Object zzb(zzgdx zzgdxVar, Class cls) throws GeneralSecurityException {
zzgmz zzgmzVar = new zzgmz(zzgdxVar.getClass(), cls, null);
if (this.zza.containsKey(zzgmzVar)) {
return ((zzgmx) this.zza.get(zzgmzVar)).zza(zzgdxVar);
}
throw new GeneralSecurityException("No PrimitiveConstructor for " + zzgmzVar.toString() + " available");
}
public final Object zzc(zzgnf zzgnfVar, Class cls) throws GeneralSecurityException {
if (!this.zzb.containsKey(cls)) {
throw new GeneralSecurityException("No wrapper found for ".concat(cls.toString()));
}
zzgng zzgngVar = (zzgng) this.zzb.get(cls);
if (zzgnfVar.zzd().equals(zzgngVar.zza()) && zzgngVar.zza().equals(zzgnfVar.zzd())) {
return zzgngVar.zzc(zzgnfVar);
}
throw new GeneralSecurityException("Input primitive type of the wrapper doesn't match the type of primitives in the provided PrimitiveSet");
}
}