Recommendations for Java + OpenPGP?

I want to develop a small OpenPGP client, and I am looking for a Java library for OpenPGP.

Are there any open source recommendations for this approach?

Cryptix.org no longer seems alive ...

+6
java cryptography gnupg openpgp pgp
source share
4 answers

I found the BouncyCastle library for Java and C #. I have no experience with this. I will try and tell you here.

It provides:

  • Lightweight cryptographic API for Java and C #.
  • Provider of Java Cryptography extension and Java cryptography architecture.
  • Clean room in JCE 1.2.1.
  • A library for reading and writing encoded ASN.1 objects.
  • Lightweight TLS client interface.
  • Generators for X.509 Certificate Version 1 and Version 3, CRL and 2 PKCS12.
  • Generators for X.509 version 2 attribute certificates.
  • Generators / Processors for S / MIME and CMS (PKCS7 / RFC 3852).
  • Generators / Processors for OCSP (RFC 2560).
  • Generators / Processors for TSP (RFC 3161).
  • Generators / Processors for OpenPGP (RFC 4880).
  • Signed jar version suitable for JDK 1.4-1.6 and Sun JCE.

(from BouncyCastle.org)

+9
source share

At the top of the BouncyCastle is a commercial library: http://www.didisoft.com/ , which greatly simplifies the BouncyCastle API.

I did not try, he just found it on jGuru.

I think it's safe to go with the BouncyCastle alone. Their library is under development and they offer examples of openpgp ...

+2
source share

Just for completeness: our SecureBlackbox (Java version) includes OpenPGP components for Java and Android , much richer than BouncyCastle, and with support, samples, and documentation.

+1
source share

There is PGPJava , but it's pretty old.

0
source share

All Articles