From 8e5010a958ded63ab6df89e1ba4d45ed9f2e572a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 23 Apr 2010 11:36:59 +0000 Subject: Decryption and signi via agent is now implemented. --- g10/call-agent.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'g10/call-agent.h') 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*/ -- cgit v1.2.3