Static utility methods to get you to bouncing around in the castle without spilling your PGP cocktail
To quote John Opincar
"...the off-the-shelf PGP functionality is severely lacking in real-world-usabaility..."
While I, personally (which is to say; no guarantees), am confident that the BouncyCastle crew know what they're dowing,
I don't (even less guarantees). This is sparta cryptography and you should verify that it does what you think it
does in the way it's supposed to be doing it.
Read the unit test source for examples.
This code is extracted, reworked, stuff done while at iZettle, open sourcing is courtesy of them, thanks!