diff options
| author | Werner Koch <[email protected]> | 2002-01-10 19:45:32 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2002-01-10 19:45:32 +0000 |
| commit | 6fd5b6d5edf89a63cb38bfd0b41a9df9b4427cf1 (patch) | |
| tree | f2ad7a9bd5399b4f35cfb82daceaed33353022dc /agent/agent.h | |
| parent | * verify.c (gpgsm_verify): Implemented non-detached signature (diff) | |
| download | gnupg-6fd5b6d5edf89a63cb38bfd0b41a9df9b4427cf1.tar.gz gnupg-6fd5b6d5edf89a63cb38bfd0b41a9df9b4427cf1.zip | |
* genkey.c: Store the secret part and return the public part.
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*/ |
