diff options
author | defanor <defanor@uberspace.net> | 2021-03-10 02:30:15 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2021-03-10 02:30:15 +0300 |
commit | 6956f33f4b594804b48511229971fae3421c9642 (patch) | |
tree | bf17de6cf92676ed59b147d516015b912dad511f /src/rexmpp_openpgp.h | |
parent | 9185f8eaa387893a4c8ef18963d2ec54b76af61d (diff) |
Allow to choose which OpenPGP keys to use for signing
Diffstat (limited to 'src/rexmpp_openpgp.h')
-rw-r--r-- | src/rexmpp_openpgp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rexmpp_openpgp.h b/src/rexmpp_openpgp.h index bed46b3..7470347 100644 --- a/src/rexmpp_openpgp.h +++ b/src/rexmpp_openpgp.h @@ -76,12 +76,16 @@ rexmpp_openpgp_decrypt_verify_message (rexmpp_t *s, @param[in] s ::rexmpp @param[in] payload XML payload. @param[in] recipients A NULL-terminated list of recipient JIDs. + @param[in] signers A NULL-terminated list of fingerprints of the + keys to sign with. Can be NULL to sign with all the available + published keys. @param[in] mode ::rexmpp_ox_mode @returns An encoded <openpgp> payload. */ char *rexmpp_openpgp_payload (rexmpp_t *s, xmlNodePtr payload, const char **recipients, + const char **signers, enum rexmpp_ox_mode mode); |