61 lines
2.0 KiB
Java
61 lines
2.0 KiB
Java
package com.google.android.gms.internal.p002firebaseauthapi;
|
|
|
|
import java.security.GeneralSecurityException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzfc extends zzgx {
|
|
public zzfc() {
|
|
super(zznk.class, zznn.class, new zzfa(zzau.class));
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* synthetic */ zzga zzh(int i, int i2, int i3, int i4) {
|
|
zzng zza = zznh.zza();
|
|
zza.zzc(i);
|
|
zza.zzb(i2);
|
|
zza.zza(i3);
|
|
zznh zznhVar = (zznh) zza.zzi();
|
|
zznd zza2 = zzne.zza();
|
|
zza2.zza(zznhVar);
|
|
return new zzga((zzne) zza2.zzi(), i4);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final zznr zzb() {
|
|
return zznr.ASYMMETRIC_PRIVATE;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final /* synthetic */ zzaek zzc(zzacc zzaccVar) throws zzadn {
|
|
return zznk.zzd(zzaccVar, zzacs.zza());
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final /* synthetic */ void zze(zzaek zzaekVar) throws GeneralSecurityException {
|
|
zznk zznkVar = (zznk) zzaekVar;
|
|
if (zznkVar.zzf().zzs()) {
|
|
throw new GeneralSecurityException("Private key is empty.");
|
|
}
|
|
if (!zznkVar.zzk()) {
|
|
throw new GeneralSecurityException("Missing public key.");
|
|
}
|
|
zzqs.zzc(zznkVar.zza(), 0);
|
|
zzff.zza(zznkVar.zze().zzb());
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgx
|
|
public final /* synthetic */ zzaek zzg(zzaek zzaekVar) throws GeneralSecurityException {
|
|
return ((zznk) zzaekVar).zze();
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final String zzd() {
|
|
return "type.googleapis.com/google.crypto.tink.HpkePrivateKey";
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzgc
|
|
public final zzgb zza() {
|
|
return new zzfb(this, zzne.class);
|
|
}
|
|
}
|