PGP encrypt an email. More...
Functions | |
struct Body * | pgp_gpgme_encrypt_message (struct Body *a, char *keylist, bool sign, const struct AddressList *from) |
Implements CryptModuleSpecs::pgp_encrypt_message() -. More... | |
struct Body * | pgp_class_encrypt_message (struct Body *a, char *keylist, bool sign, const struct AddressList *from) |
Implements CryptModuleSpecs::pgp_encrypt_message() -. More... | |
PGP encrypt an email.
a | Body of email to encrypt |
keylist | List of keys, or fingerprints (space separated) |
sign | If true, sign the message too |
from | From line, to choose the key to sign |
ptr | Encrypted Body |
NULL | Error |
Encrypt the mail body to all the given keys.
struct Body* pgp_gpgme_encrypt_message | ( | struct Body * | a, |
char * | keylist, | ||
bool | sign, | ||
const struct AddressList * | from | ||
) |
Implements CryptModuleSpecs::pgp_encrypt_message() -.
Definition at line 1399 of file crypt_gpgme.c.
struct Body* pgp_class_encrypt_message | ( | struct Body * | a, |
char * | keylist, | ||
bool | sign, | ||
const struct AddressList * | from | ||
) |
Implements CryptModuleSpecs::pgp_encrypt_message() -.
Definition at line 1566 of file pgp.c.