what-the-bank/sources/com/google/android/gms/internal/p002firebaseauthapi/zzcm.java

50 lines
1.6 KiB
Java

package com.google.android.gms.internal.p002firebaseauthapi;
import java.security.GeneralSecurityException;
/* loaded from: classes2.dex */
public final class zzcm extends zzgc {
/* JADX INFO: Access modifiers changed from: package-private */
public zzcm() {
super(zzkc.class, new zzck(zzqk.class));
}
public static final void zzh(zzkc zzkcVar) throws GeneralSecurityException {
zzqs.zzc(zzkcVar.zza(), 0);
zzqs.zzb(zzkcVar.zzg().zzd());
zzi(zzkcVar.zzf());
}
/* JADX INFO: Access modifiers changed from: private */
public static final void zzi(zzki zzkiVar) throws GeneralSecurityException {
if (zzkiVar.zza() < 12 || zzkiVar.zza() > 16) {
throw new GeneralSecurityException("invalid IV size");
}
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
public final zznr zzb() {
return zznr.SYMMETRIC;
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
public final /* synthetic */ zzaek zzc(zzacc zzaccVar) throws zzadn {
return zzkc.zze(zzaccVar, zzacs.zza());
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
public final /* synthetic */ void zze(zzaek zzaekVar) throws GeneralSecurityException {
zzh((zzkc) zzaekVar);
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
public final String zzd() {
return "type.googleapis.com/google.crypto.tink.AesCtrKey";
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
public final zzgb zza() {
return new zzcl(this, zzkf.class);
}
}