My application uses IAIK decryptSymmetricKey to decrypt for encrypted SMIME incoming messages. The mail box is Notes mail database, after the message arrives, the encrypted content is detached to a folder on Hard Drive and we use following code to decrypt the detached file:
(I'm using JavaMail package for Domino 6 - 1.1.x or 1.2.x version, I think. Domino 6 still use JRE 1.3.)
It worked OK with incoming messages with no attachment or small-sized attachments but if the incoming message includes large attachments (e.g. 2-3 Meg Dll files), it threw exceptions:
If I remove this line of code: Object o = enContent.getContent(); it works OK and no exception throws.
I've tried to upgrade to to IAIK-CMS with S/MIMEv3 but no luck. It's OK with small-sized eveloped dump, with large-sized, it threw exception:
Please help to resolve this issue. Thanks in advance. Chinh [ February 26, 2006: Message edited by: Chinh Tran Nam ]
Acetylsalicylic acid is aspirin. This could be handy too: