• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IAIK SMIME ver2 vs ver3

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am using IAIK SMIME package for data encryption and signing.
Can someone tell me the difference in functionality between ver 2 and ver 3 of the same?
I managed to get it working by changing the following:
1. Imported iaik.smime.EncryptedContent and iaik.smime.SignedContent instead of iaik.security.smime.EncryptedContent and iaik.security.smime.SignedContent.
2. Instead of signedContent.setSigner() I used signedContent.addSigner() method.
3. Call the encryptedContent.setHeaders() method after doing a mimeMessage.setContent() method, as against the reverse in ver2.
But I am not sure as to how different the functionality has changed by these above mentioned changes!! I could not get hold of any documentation also for them.
Any document/suggestion would be greatly appreciated!!
Thanks in advance,
Ganapathi
 
reply
    Bookmark Topic Watch Topic
  • New Topic