gpgme: encrypt/decrypt

Werner Koch wk at gnupg.org
Tue Aug 16 19:00:19 CEST 2005


On Sat, 13 Aug 2005 16:53:05 -0700, Michael Nguyen said:

>  - Take your text keys from MySQL and read it into a char string

1. import the keys into gpg's keyring; use gpgme_op_import.

>  - Run gpgme_blah_blah with blah and blah to turn the public keys into the
> recp array

2. Do nothing

>  - Pass that value to gpgme_op_encrypt and away you go

3. Use the fingerprint or the user ID or the keyID of the key and put
   it into the recipients array.


Shalom-Salam,

   Werner




More information about the Gnupg-devel mailing list