diff options
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index 71cb2ecb3..b3e18c661 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -94,6 +94,9 @@ GCRY_SEXP agent_key_from_file (const unsigned char *grip); /*-- query.c --*/ int agent_askpin (const char *desc_text, struct pin_entry_info_s *pininfo); +int agent_get_passphrase (char **retpass, + const char *desc, const char *prompt, + const char *errtext); /*-- pksign.c --*/ int agent_pksign (CTRL ctrl, FILE *outfp); @@ -102,5 +105,10 @@ int agent_pksign (CTRL ctrl, FILE *outfp); int agent_pkdecrypt (CTRL ctrl, const char *ciphertext, size_t ciphertextlen, FILE *outfp); +/*-- genkey.c --*/ +int agent_genkey (CTRL ctrl, + const char *keyparam, size_t keyparmlen, FILE *outfp); + + #endif /*AGENT_H*/ |