1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* genkey.c: Store the secret part and return the public part.

This commit is contained in:
Werner Koch 2002-01-10 19:45:32 +00:00
parent 3b8cf6e497
commit 6fd5b6d5ed
7 changed files with 408 additions and 63 deletions

View file

@ -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*/