Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

SMIME - decryptSymmetricKey problem.

Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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 ]
Acetylsalicylic acid is aspirin. This could be handy too:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic