posted 21 years ago
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