aspose file tools*
The moose likes Security and the fly likes Doubt in Examining an encrypted file using Bouncy castle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Doubt in Examining an encrypted file using Bouncy castle" Watch "Doubt in Examining an encrypted file using Bouncy castle" New topic
Author

Doubt in Examining an encrypted file using Bouncy castle

Rakesh Megharaj
Greenhorn

Joined: Dec 13, 2012
Posts: 12
Actually I am trying to move my application using GNUPG tool to Bouncy castle (bcprov-jdk15on-147.jar). In the existing application which is using GNUPG tool, there is functionality of examining an encrypted file, i.e. when an encrypted file is provided by the user, --list-packets is executed on the GNUPG tool and depending on the results of this command, details like encrypted for which user id, signed by and packet details are displayed to the user. Although in Bouncy Castle i could find the api fetching the key id from the encrypted file, but i could not find the apis to fetch the other details from the encrypted files like user id, signed by and packet details. Please guide me on this. If you could provide me some example that would be great.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Doubt in Examining an encrypted file using Bouncy castle