diff options
author | Werner Koch <[email protected]> | 2006-08-16 10:47:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-08-16 10:47:53 +0000 |
commit | b744f963d7061ce55d2eed65b281298476e54fb7 (patch) | |
tree | 6e8ccb3c39a45c16b4ca6cdb2273eb3b8bc2a888 /g10/call-agent.h | |
parent | Changed HTTP API. (diff) | |
download | gnupg-b744f963d7061ce55d2eed65b281298476e54fb7.tar.gz gnupg-b744f963d7061ce55d2eed65b281298476e54fb7.zip |
With --enable-gpg the keyservers are now build and a first test using gpg2
shows no prblems. Needs more testing of course.
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r-- | g10/call-agent.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h index d09b87e3a..08e22e382 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -82,6 +82,10 @@ int agent_scd_setattr (const char *name, const unsigned char *value, size_t valuelen, const char *serialno); +/* Send a WRITEKEY command to the SCdaemon. */ +int agent_scd_writekey (int keyno, const char *serialno, + const unsigned char *keydata, size_t keydatalen); + /* Send a GENKEY command to the SCdaemon. */ int agent_scd_genkey (struct agent_card_genkey_s *info, int keyno, int force, const char *serialno); @@ -89,12 +93,12 @@ int agent_scd_genkey (struct agent_card_genkey_s *info, int keyno, int force, /* Send a PKSIGN command to the SCdaemon. */ int agent_scd_pksign (const char *keyid, int hashalgo, const unsigned char *indata, size_t indatalen, - char **r_buf, size_t *r_buflen); + unsigned char **r_buf, size_t *r_buflen); /* Send a PKDECRYPT command to the SCdaemon. */ int agent_scd_pkdecrypt (const char *serialno, const unsigned char *indata, size_t indatalen, - char **r_buf, size_t *r_buflen); + unsigned 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, const char *serialno); |