I am currently updating an application that generates OpenPGP messages to meet FIPS 140-2 requirements. I am currently creating PGP messages that use RSA / AES-256 encryption, which are both approved algorithms using BouncyCastle and its OpenPGP provider. I can no longer use BouncyCastly since it is not verified by FIPS 140-2, so I am looking at the BSAFE library from RSA.
There is no high-level abstraction in this library so that you can directly generate an OpenPGP message. Does anyone know a library that can use an existing JCE provider (like my BSAFE library) that can generate OpenPGP messages? I would really like for me not to have to implement the OpenPGP specification myself, as it seems like it will take a lot of time. Alternatively, any suggestions on other ways to format my encrypted files?
Thanks in advance for any input!
source
share