Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzggn.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

41 lines
1.2 KiB
Java

package com.google.android.gms.internal.ads;
import java.security.GeneralSecurityException;
import java.security.InvalidAlgorithmParameterException;
/* loaded from: classes3.dex */
public final class zzggn {
private Integer zza = null;
private zzggo zzb = zzggo.zzc;
private zzggn() {
}
public /* synthetic */ zzggn(zzggp zzggpVar) {
}
public final zzggn zzb(zzggo zzggoVar) {
this.zzb = zzggoVar;
return this;
}
public final zzggn zza(int i) throws GeneralSecurityException {
if (i != 16 && i != 32) {
throw new InvalidAlgorithmParameterException(String.format("Invalid key size %d; only 16-byte and 32-byte AES keys are supported", Integer.valueOf(i)));
}
this.zza = Integer.valueOf(i);
return this;
}
public final zzggq zzc() throws GeneralSecurityException {
Integer num = this.zza;
if (num == null) {
throw new GeneralSecurityException("Key size is not set");
}
if (this.zzb != null) {
return new zzggq(num.intValue(), this.zzb, null);
}
throw new GeneralSecurityException("Variant is not set");
}
}