no such algorithm: SHA256with 1.2.840.113549.1.1.11 for provider BC

11/24/2014 5:44:39 PM
Gravatar
Total Posts 1

no such algorithm: SHA256with 1.2.840.113549.1.1.11 for provider BC

Hello,

I've executed NDigitalSign to create a p7m file.

The content of the p7m envelope looks fine, I can extract back the original file (used CmsSignedData and CmsProcessable for this task).

However, when I open the signed p7m with one of the free tools on the Web (e.g. http://javasign.sourceforge.net), I see the error in the subject.

Is it related to the BouncyCastle library?

I've noticed the sequence "1.2.840.113549.1.1.11" is different from the "Signature OID" field presented by the javasign utility, which is "1.2.840.113549.1.1.5".

What does the error mean?

Best regards,

Marco