Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Examining an encrypted file using Bouncy castle

 
Rakesh Megharaj
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic