package org.bouncycastle.jcajce.provider.util; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; /* loaded from: classes6.dex */ public abstract class AsymmetricAlgorithmProvider extends AlgorithmProvider { /* JADX INFO: Access modifiers changed from: protected */ public void registerOidAlgorithmParameters(ConfigurableProvider configurableProvider, ASN1ObjectIdentifier aSN1ObjectIdentifier, String str) { configurableProvider.addAlgorithm("Alg.Alias.AlgorithmParameterGenerator.".concat(String.valueOf(aSN1ObjectIdentifier)), str); configurableProvider.addAlgorithm("Alg.Alias.AlgorithmParameters.".concat(String.valueOf(aSN1ObjectIdentifier)), str); } /* JADX INFO: Access modifiers changed from: protected */ public void registerOid(ConfigurableProvider configurableProvider, ASN1ObjectIdentifier aSN1ObjectIdentifier, String str, AsymmetricKeyInfoConverter asymmetricKeyInfoConverter) { configurableProvider.addAlgorithm("Alg.Alias.KeyFactory.".concat(String.valueOf(aSN1ObjectIdentifier)), str); configurableProvider.addAlgorithm("Alg.Alias.KeyPairGenerator.".concat(String.valueOf(aSN1ObjectIdentifier)), str); configurableProvider.addKeyInfoConverter(aSN1ObjectIdentifier, asymmetricKeyInfoConverter); } /* JADX INFO: Access modifiers changed from: protected */ public void addSignatureAlgorithm(ConfigurableProvider configurableProvider, String str, String str2, String str3, ASN1ObjectIdentifier aSN1ObjectIdentifier) { StringBuilder sb = new StringBuilder(); sb.append(str); sb.append("WITH"); sb.append(str2); String obj = sb.toString(); StringBuilder sb2 = new StringBuilder(); sb2.append(str); sb2.append("with"); sb2.append(str2); String obj2 = sb2.toString(); StringBuilder sb3 = new StringBuilder(); sb3.append(str); sb3.append("With"); sb3.append(str2); String obj3 = sb3.toString(); StringBuilder sb4 = new StringBuilder(); sb4.append(str); sb4.append("/"); sb4.append(str2); String obj4 = sb4.toString(); configurableProvider.addAlgorithm("Signature.".concat(String.valueOf(obj)), str3); configurableProvider.addAlgorithm("Alg.Alias.Signature.".concat(String.valueOf(obj2)), obj); configurableProvider.addAlgorithm("Alg.Alias.Signature.".concat(String.valueOf(obj3)), obj); configurableProvider.addAlgorithm("Alg.Alias.Signature.".concat(String.valueOf(obj4)), obj); configurableProvider.addAlgorithm("Alg.Alias.Signature.".concat(String.valueOf(aSN1ObjectIdentifier)), obj); configurableProvider.addAlgorithm("Alg.Alias.Signature.OID.".concat(String.valueOf(aSN1ObjectIdentifier)), obj); } }