• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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.
[ February 26, 2006: Message edited by: Chinh Tran Nam ]
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic