Hi,
I debugged it down to EnvelopedDataHelper.createCipher(ASN1ObjectIdentifier
algorithm); In my case the algorithm is 1.2.840.113549.3.2.
This value comes from the very beginning (I guess at the time of encryption),
from the encrypted document as "messageAlgorithm", as well as "keyEncAlg" which
in my case is 1.2.840.113549.1.1.1.
On line 179 it tries to find this algorithm from HashMap, but there is no such
algorithm. So it tries directly Cipher.getInstance("1.2.840.113549.3.2",
pkcs11prov); but it fails.
Yes, I know this is in BC code, but the algorithm strings come from iText code.
What should I do?
Best Regards, Valentin
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php