what-the-bank/sources/o/iBZ.java

94 lines
3.3 KiB
Java

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> {
T a(String str, Provider provider) throws GeneralSecurityException;
/* loaded from: classes2.dex */
public static class LWm implements iBZ<Cipher> {
@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<Mac> {
@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<KeyPairGenerator> {
@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<MessageDigest> {
@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<Signature> {
@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<KeyFactory> {
@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<KeyAgreement> {
@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);
}
}
}