- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
44 lines
1.4 KiB
Java
44 lines
1.4 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 zzgmg {
|
|
private static final zzgmg zza = new zzgmg();
|
|
private final Map zzb = new HashMap();
|
|
|
|
public static zzgmg zzb() {
|
|
return zza;
|
|
}
|
|
|
|
public final synchronized zzgek zza(String str) throws GeneralSecurityException {
|
|
if (!this.zzb.containsKey("AES128_GCM")) {
|
|
throw new GeneralSecurityException("Name AES128_GCM does not exist");
|
|
}
|
|
return (zzgek) this.zzb.get("AES128_GCM");
|
|
}
|
|
|
|
public final synchronized void zzc(String str, zzgek zzgekVar) throws GeneralSecurityException {
|
|
try {
|
|
if (!this.zzb.containsKey(str)) {
|
|
this.zzb.put(str, zzgekVar);
|
|
return;
|
|
}
|
|
if (((zzgek) this.zzb.get(str)).equals(zzgekVar)) {
|
|
return;
|
|
}
|
|
throw new GeneralSecurityException("Parameters object with name " + str + " already exists (" + String.valueOf(this.zzb.get(str)) + "), cannot insert " + String.valueOf(zzgekVar));
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
public final synchronized void zzd(Map map) throws GeneralSecurityException {
|
|
for (Map.Entry entry : map.entrySet()) {
|
|
zzc((String) entry.getKey(), (zzgek) entry.getValue());
|
|
}
|
|
}
|
|
}
|