json: Implement encrypt-sign
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 13:48:39 +0000 (15:48 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 13:48:39 +0000 (15:48 +0200)
commit7aa00917c7f13294584daba31a506730f0015ef5
tree9a7d1194475cfd93c8946722aa82091a60c8d148
parent73dc5e933d609989bd9ec428c89ada95d5eaec8a
json: Implement encrypt-sign

* src/gpgme-json.c (op_encrypt): Add optional signing_keys param.
(get_keys, create_keylist_patterns): Add param for json object name.

--
If the optional parameter signing_keys is provided to encrypt
it becomes an encrypt-sign operation.
src/gpgme-json.c