Bouncy Castle is a library of various cryptographic algorithms implemented in Java, you will probably need to know how to program Java to use it for anything , not to mention know the PGP protocol well enough to implement it with it, I am not sure but I think it only has primitives. edit: huh looks like it includes a pgp implementation also