github#212 fixed digest algoid in public key
@@ -262,13 +262,13 @@ public String getFormat()
{
params = new GOST3410PublicKeyAlgParameters(
ECGOST3410NamedCurves.getOID(((ECNamedCurveSpec)ecSpec).getName()),
- RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512);
+ RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512);
}
else
{
params = new GOST3410PublicKeyAlgParameters(
ECGOST3410NamedCurves.getOID(((ECNamedCurveSpec)ecSpec).getName()),
- RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256);
+ RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256);
}
}
else
