aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-23 11:36:59 +0000
committerWerner Koch <[email protected]>2010-04-23 11:36:59 +0000
commit8e5010a958ded63ab6df89e1ba4d45ed9f2e572a (patch)
tree7859b79f876bc753dd2732b3d2348684bc766dbc /g10/call-agent.h
parent2010-04-23 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-8e5010a958ded63ab6df89e1ba4d45ed9f2e572a.tar.gz
gnupg-8e5010a958ded63ab6df89e1ba4d45ed9f2e572a.zip
Decryption and signi via agent is now implemented.
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r--g10/call-agent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index bf32d3f28..c8e920855 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -158,6 +158,10 @@ gpg_error_t agent_pksign (ctrl_t ctrl, const char *hexkeygrip, const char *desc,
int digestalgo,
gcry_sexp_t *r_sigval);
+/* Decrypt a ciphertext. */
+gpg_error_t agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
+ gcry_sexp_t s_ciphertext,
+ unsigned char **r_buf, size_t *r_buflen);
#endif /*GNUPG_G10_CALL_AGENT_H*/