2

I have the public key which is shared by client for PGP file encrpytion. I am using Java 1.7 and this question is very similar to this one.

Unfortunately none of those solutions are working for me or outdated.

Can someone please share the working implementation or guide if they have any? Code with comments is preferred.

What i have done so far:

Tried implementating using BouncyCastle and OpenPGP API. Didn't succeed.

Vamsidhar
  • 822
  • 11
  • 24
  • 1
    Can you show us your implementation using BouncyCastle? We can probably tell you what you did wrong. Keep in mind that StackOverflow is not a code writing service. – Giacomo Alzetta Aug 27 '18 at 07:15
  • @GiacomoAlzetta implementations are from Internet and all i am getting are compilation errors since they are written in 2011 or so and outdated. That is why i am asking for working guides which are already published. I know SO is not a code writing service and i am not asking for it. – Vamsidhar Aug 27 '18 at 08:40
  • With statement `Didn't succeed` could you be more specific? (what compilation errors, code sample, ..) We may be able to help you find out what went wrong / what to fix. There are many answered questions here (https://stackoverflow.com/questions/tagged/pgp+java) so we see no reason copy/paste it for you – gusto2 Aug 27 '18 at 09:16

0 Answers0