Recommendations for Java + OpenPGP?
Asked Answered
C

5

6

I want to develop a small OpenPGP client and I'm searching for a Java library for OpenPGP.

Are there any (open source) recommendations for this approach?

Cryptix.org does not seem alive anymore...

Caracal answered 17/2, 2009 at 12:59 Comment(0)
C
9

I found the BouncyCastle library, for Java and C#. I haven't any experiences with it. I will try it and report here.

It provides:

  1. A lightweight cryptography API for Java and C#.
  2. A provider for the Java Cryptography Extension and the Java Cryptography Architecture.
  3. A clean room implementation of the JCE 1.2.1.
  4. A library for reading and writing encoded ASN.1 objects.
  5. A light weight client-side TLS API.
  6. Generators for Version 1 and Version 3 X.509 certificates, Version 2 CRLs, and PKCS12 files.
  7. Generators for Version 2 X.509 attribute certificates.
  8. Generators/Processors for S/MIME and CMS (PKCS7/RFC 3852).
  9. Generators/Processors for OCSP (RFC 2560).
  10. Generators/Processors for TSP (RFC 3161).
  11. Generators/Processors for OpenPGP (RFC 4880).
  12. A signed jar version suitable for JDK 1.4-1.6 and the Sun JCE.

(from BouncyCastle.org)

Caracal answered 17/2, 2009 at 14:27 Comment(1)
what were the results of your experimentation?Isoelectronic
B
2

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

I have not tried it just found it mentioned on jGuru.

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

Beatitude answered 21/6, 2009 at 6:22 Comment(0)
R
1

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

Rhapsodize answered 31/8, 2012 at 15:13 Comment(0)
S
0

There's PGPJava, but it's pretty old.

Sheepdip answered 25/2, 2009 at 19:30 Comment(0)
S
0

You might want to try PGPainless which is also based on Bouncycastle, and scores pretty good on the OpenPGP Interoperability Test Suite.

Sinh answered 23/9, 2021 at 12:2 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.