aspose file tools*
The moose likes Security and the fly likes Not able to extract data from PKCS7 formatted signed data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Not able to extract data from PKCS7 formatted signed data" Watch "Not able to extract data from PKCS7 formatted signed data" New topic
Author

Not able to extract data from PKCS7 formatted signed data

Prasant K Sahu
Greenhorn

Joined: Feb 03, 2011
Posts: 1
Hi Everyone,
We are using EntrustToolkit to decrypt the signed data of PKCS7 format and facing a problem to extract the certificate, signature details and the signed data.

The steps we followed are:
1. Did Base64 decode.
2. Logged in to the User object and used PKCS7DecodesStream class to extract data. But the getNumberOfSignature() method od pkcs7decodestream is returning 0 and the getOperation() method returns 3 which means "SIGN_ONLY".

Can anyone suggest me the perfect entrust class and method to satisfy my requirement. In my project we have to use only EntrustToolkit to do the decryption. Kindly help me on this.

Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to extract data from PKCS7 formatted signed data
 
Similar Threads
A question about JTable and populating a DB
Is my Data class design Okay?
Any implementation of Javascript Encryption and Java Decryption of Triple DES Algorithm
extract url
Problems Importing a certificate