Yaniv's Web Corner

GnuPG Java Wrapper API

By Yaniv Yemini

Description:

This small class provides a Java API that calls GnuPG (GPG) to perform PGP functions, such as:

  • Sign
  • ClearSign
  • Encrypt
  • Decrypt

The latest code can be downloaded from here (version 0.5).

Sample Code:

Click here for sample code.

For comments, suggestions etc, please contact me here.

Based on a class GnuPG by John Anderson, which can be found at: http://lists.gnupg.org/pipermail/gnupg-devel/2002-February/018098.html.

Todo:

  • Add support for verifying PGP signatures.
  • Check why getErrorStream () returns the gpg's STDOUT stream and STDERR.

Recent Posts:

List of real SATA RAID Cards for Linux

Drupal minor version upgrade guide

12 Must have WordPress plugins for your blog

How to include an HTML file in Smarty or Gallery 2

How to create template for a view in Drupal

Advertisement


© Yaniv Yemini, 1998-2010