41 lines
1.4 KiB
Java
41 lines
1.4 KiB
Java
|
package com.google.android.gms.internal.p002firebaseauthapi;
|
||
|
|
||
|
import java.security.GeneralSecurityException;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzdi extends zzgc {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzdi() {
|
||
|
super(zzpe.class, new zzdg(zzap.class));
|
||
|
}
|
||
|
|
||
|
@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 zzpe.zzd(zzaccVar, zzacs.zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
||
|
public final /* synthetic */ void zze(zzaek zzaekVar) throws GeneralSecurityException {
|
||
|
zzpe zzpeVar = (zzpe) zzaekVar;
|
||
|
zzqs.zzc(zzpeVar.zza(), 0);
|
||
|
if (zzpeVar.zze().zzd() != 32) {
|
||
|
throw new GeneralSecurityException("invalid XChaCha20Poly1305Key: incorrect key length");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
||
|
public final String zzd() {
|
||
|
return "type.googleapis.com/google.crypto.tink.XChaCha20Poly1305Key";
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
||
|
public final zzgb zza() {
|
||
|
return new zzdh(this, zzph.class);
|
||
|
}
|
||
|
}
|