- 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
73 lines
2.3 KiB
Java
73 lines
2.3 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.security.GeneralSecurityException;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzgez {
|
|
private zzgfk zza = null;
|
|
private zzgvp zzb = null;
|
|
private zzgvp zzc = null;
|
|
private Integer zzd = null;
|
|
|
|
private zzgez() {
|
|
}
|
|
|
|
public /* synthetic */ zzgez(zzgfa zzgfaVar) {
|
|
}
|
|
|
|
public final zzgez zza(zzgvp zzgvpVar) {
|
|
this.zzb = zzgvpVar;
|
|
return this;
|
|
}
|
|
|
|
public final zzgez zzb(zzgvp zzgvpVar) {
|
|
this.zzc = zzgvpVar;
|
|
return this;
|
|
}
|
|
|
|
public final zzgez zzc(Integer num) {
|
|
this.zzd = num;
|
|
return this;
|
|
}
|
|
|
|
public final zzgez zzd(zzgfk zzgfkVar) {
|
|
this.zza = zzgfkVar;
|
|
return this;
|
|
}
|
|
|
|
public final zzgfb zze() throws GeneralSecurityException {
|
|
zzgvo zzb;
|
|
zzgfk zzgfkVar = this.zza;
|
|
if (zzgfkVar == null) {
|
|
throw new GeneralSecurityException("Cannot build without parameters");
|
|
}
|
|
zzgvp zzgvpVar = this.zzb;
|
|
if (zzgvpVar == null || this.zzc == null) {
|
|
throw new GeneralSecurityException("Cannot build without key material");
|
|
}
|
|
if (zzgfkVar.zzb() != zzgvpVar.zza()) {
|
|
throw new GeneralSecurityException("AES key size mismatch");
|
|
}
|
|
if (zzgfkVar.zzc() != this.zzc.zza()) {
|
|
throw new GeneralSecurityException("HMAC key size mismatch");
|
|
}
|
|
if (this.zza.zza() && this.zzd == null) {
|
|
throw new GeneralSecurityException("Cannot create key without ID requirement with parameters with ID requirement");
|
|
}
|
|
if (!this.zza.zza() && this.zzd != null) {
|
|
throw new GeneralSecurityException("Cannot create key with ID requirement with parameters without ID requirement");
|
|
}
|
|
if (this.zza.zzh() == zzgfi.zzc) {
|
|
zzb = zzgml.zza;
|
|
} else if (this.zza.zzh() == zzgfi.zzb) {
|
|
zzb = zzgml.zza(this.zzd.intValue());
|
|
} else {
|
|
if (this.zza.zzh() != zzgfi.zza) {
|
|
throw new IllegalStateException("Unknown AesCtrHmacAeadParameters.Variant: ".concat(String.valueOf(this.zza.zzh())));
|
|
}
|
|
zzb = zzgml.zzb(this.zzd.intValue());
|
|
}
|
|
return new zzgfb(this.zza, this.zzb, this.zzc, zzb, this.zzd, null);
|
|
}
|
|
}
|