comparison mcabber/mcabber/pgp.h @ 2187:e3b66c8ead4f

PGP: Change gpg_encrypt() so that several encryption keys can be used
author Mikael Berthe <mikael@lilotux.net>
date Sun, 04 Oct 2015 19:04:04 +0200
parents e6d355e50d7a
children 84252c616919
comparison
equal deleted inserted replaced
2186:a852aed87ac0 2187:e3b66c8ead4f
14 void gpg_set_private_key(const char *priv_keyid); 14 void gpg_set_private_key(const char *priv_keyid);
15 char *gpg_verify(const char *gpg_data, const char *text, 15 char *gpg_verify(const char *gpg_data, const char *text,
16 gpgme_sigsum_t *sigsum); 16 gpgme_sigsum_t *sigsum);
17 char *gpg_sign(const char *gpg_data); 17 char *gpg_sign(const char *gpg_data);
18 char *gpg_decrypt(const char *gpg_data); 18 char *gpg_decrypt(const char *gpg_data);
19 char *gpg_encrypt(const char *gpg_data, const char *keyid); 19 char *gpg_encrypt(const char *gpg_data, const char *keyid[], size_t n);
20 20
21 int gpg_test_passphrase(void); 21 int gpg_test_passphrase(void);
22 22
23 #endif /* HAVE_GPGME */ 23 #endif /* HAVE_GPGME */
24 24