package o; import java.security.GeneralSecurityException; import java.security.KeyFactory; import java.security.KeyPairGenerator; import java.security.MessageDigest; import java.security.Provider; import java.security.Signature; import javax.crypto.Cipher; import javax.crypto.KeyAgreement; import javax.crypto.Mac; /* loaded from: classes2.dex */ public interface iBZ { T a(String str, Provider provider) throws GeneralSecurityException; /* loaded from: classes2.dex */ public static class LWm implements iBZ { @Override // o.iBZ public final /* synthetic */ Cipher a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return Cipher.getInstance(str); } return Cipher.getInstance(str, provider); } } /* loaded from: classes2.dex */ public static class IeS implements iBZ { @Override // o.iBZ public final /* synthetic */ Mac a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return Mac.getInstance(str); } return Mac.getInstance(str, provider); } } /* loaded from: classes2.dex */ public static class RVV implements iBZ { @Override // o.iBZ public final /* synthetic */ KeyPairGenerator a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return KeyPairGenerator.getInstance(str); } return KeyPairGenerator.getInstance(str, provider); } } /* loaded from: classes2.dex */ public static class jbe implements iBZ { @Override // o.iBZ public final /* synthetic */ MessageDigest a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return MessageDigest.getInstance(str); } return MessageDigest.getInstance(str, provider); } } /* loaded from: classes2.dex */ public static class ojQ implements iBZ { @Override // o.iBZ public final /* synthetic */ Signature a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return Signature.getInstance(str); } return Signature.getInstance(str, provider); } } /* loaded from: classes2.dex */ public static class HBt implements iBZ { @Override // o.iBZ public final /* synthetic */ KeyFactory a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return KeyFactory.getInstance(str); } return KeyFactory.getInstance(str, provider); } } /* loaded from: classes2.dex */ public static class Sts implements iBZ { @Override // o.iBZ public final /* synthetic */ KeyAgreement a(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return KeyAgreement.getInstance(str); } return KeyAgreement.getInstance(str, provider); } } }