• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

SMIME - decryptSymmetricKey problem.

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

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 ]
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic