Hello,
when trying to decrypt document that has <KeySize> element, I get an NumberFormatException at XMLCypher.newEncryptionMethod() line 2502
I think instead of:
if (null != keySizeElement) { result.setKeySize( Integer.valueOf(keySizeElement.getNodeValue()).intValue()); }
It should be:
if (null != keySizeElement) { result.setKeySize( Integer.valueOf(keySizeElement.getNodeValue() .getFirstChild()).intValue()); }
Best regards, Anton
-- Anton Krasovsky *Senior QA Engineer* Vordel - XML Web Services security http://www.vordel.com *Tel:* +353-1-603 1700 *Fax:* +353-1-603 1701
* Entrust adds Vordel flagship XML security products to its portfolio <http://www.vordel.com/news/press/04_09_02.html> * Vordel and RSA Security partner to provide security for XML <http://www.vordel.com/news/press/04_07_20.html> * Get a free 'Web Services security landscape' wallchart <http://www.vordel.com/wallchart>
This email and any files transmitted with it are confidential and/or privileged. They are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this email and/or any file transmitted with it is prohibited. If you have received this email and/or any file transmitted with in error, please notify [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>.