Search code examples
javapgp

PGP decryption using java api


i am trying to decrypt a PGP encrypted file. I would like to use the available java api and not third party. Is this possbile? I see posts that java api has capablities wanted to know if some one tried it and have any example?


Solution

  • There is no JDK API for doing this AFAIK, you have to go third party. BouncyCastle would be a good choice to go with.