aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-07-23 07:11:06 +0000
committerWerner Koch <[email protected]>2003-07-23 07:11:06 +0000
commit44f4303bcfe1ce47717c57838d13ebd872fde0fd (patch)
treed72ec3213d44cb3e6d50df31fd1b3a279da1363e /g10/call-agent.h
parent* export.c (parse_export_options): New option sexp-format. (diff)
downloadgnupg-44f4303bcfe1ce47717c57838d13ebd872fde0fd.tar.gz
gnupg-44f4303bcfe1ce47717c57838d13ebd872fde0fd.zip
* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
(do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.
Diffstat (limited to '')
-rw-r--r--g10/call-agent.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index a6edecf47..434295e79 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -42,6 +42,10 @@ struct agent_card_genkey_s {
gcry_mpi_t e;
};
+
+/* Release the card info structure. */
+void agent_release_card_info (struct agent_card_info_s *info);
+
/* Return card info. */
int agent_learn (struct agent_card_info_s *info);
@@ -66,6 +70,8 @@ int agent_scd_pkdecrypt (const char *serialno,
const unsigned char *indata, size_t indatalen,
char **r_buf, size_t *r_buflen);
+/* Change the PIN of an OpenPGP card or reset the retry counter. */
+int agent_scd_change_pin (int chvno);
#endif /*GNUPG_G10_CALL_AGENT_H*/