Remove redundant aliases
@@ -82,8 +82,6 @@ public void configure(ConfigurableProvider provider)
provider.addAlgorithm("KeyPairGenerator.ECGOST3410-2012",
PREFIX_GOST_2012 + "KeyPairGeneratorSpi");
- provider.addAlgorithm("Alg.Alias.KeyPairGenerator.ECGOST3410-2012",
- "ECGOST3410-2012");
provider.addAlgorithm("Alg.Alias.KeyPairGenerator.GOST-3410-2012",
"ECGOST3410-2012");
@@ -91,8 +89,6 @@ public void configure(ConfigurableProvider provider)
provider.addAlgorithm("Signature.ECGOST3410-2012-256",
PREFIX_GOST_2012 + "ECGOST2012SignatureSpi256");
- provider.addAlgorithm("Alg.Alias.Signature.ECGOST3410-2012-256",
- "ECGOST3410-2012-256");
provider.addAlgorithm("Alg.Alias.Signature.GOST-3410-2012-256",
"ECGOST3410-2012-256");
provider.addAlgorithm("Alg.Alias.Signature.GOST3411WITHECGOST3410-2012-256",
@@ -104,7 +100,6 @@ public void configure(ConfigurableProvider provider)
// 512 signature
-
provider.addAlgorithm("Signature.ECGOST3410-2012-512",
PREFIX_GOST_2012 + "ECGOST2012SignatureSpi512");
provider.addAlgorithm("Alg.Alias.Signature.ECGOST3410-2012-512",
@@ -118,6 +113,8 @@ public void configure(ConfigurableProvider provider)
PREFIX_GOST_2012 + "ECGOST2012SignatureSpi512",
RosstandartObjectIdentifiers.id_tc26_signwithdigest_gost_3410_12_512);
+ // KeyAgreement
+
provider.addAlgorithm("KeyAgreement.ECGOST3410-2012-256", PREFIX_GOST_2012 + "KeyAgreementSpi$ECVKO256");
provider.addAlgorithm("KeyAgreement.ECGOST3410-2012-512", PREFIX_GOST_2012 + "KeyAgreementSpi$ECVKO512");
