[Help-gnutls] PGP api

Brad Hards bradh at frogmouth.net
Fri Nov 23 00:27:49 CET 2007


On Friday 23 November 2007 08:17:05 am Angus wrote:
> I need a C (or C++) API to PGP encrypt stuff. Unfortunately, I have no
> experience with public key encryption, and I'm having a hard time figuring
> out what available APIs even do this.

I'm not sure what you are asking. Are you trying to do PGP with TLS? 

If you are just trying to encrypt a file, why not just use GPGME:
http://www.gnupg.org/related_software/gpgme/
It is a library that talks to the gnupg binary over a special machine 
interface.

There are also C++ bindings for GPGME (in the KDE SVN as part of kdepimlibs, 
not sure what the release state is - may not be a separate release)

If you are using Qt, then QCA has PGP support (also using the gnupg binary).

I guess there are commercial options too. No experience with those.

Brad






More information about the Gnutls-help mailing list