package com.google.android.gms.internal.p002firebaseauthapi; import java.security.GeneralSecurityException; import java.security.KeyFactory; import java.security.Provider; /* loaded from: classes2.dex */ public final class zzqc implements zzqh { @Override // com.google.android.gms.internal.p002firebaseauthapi.zzqh public final /* synthetic */ Object zza(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return KeyFactory.getInstance(str); } return KeyFactory.getInstance(str, provider); } }