aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-03-05 17:17:08 +0000
committerWerner Koch <[email protected]>2002-03-05 17:17:08 +0000
commit2b5dca457ca4bc4465cc8b6a3c26ab0023427a0d (patch)
tree59ed92043e4e4bf40ceb62040a4a2b45f54cfd59 /scd/scdaemon.h
parentThis file was missing. (diff)
downloadgnupg-2b5dca457ca4bc4465cc8b6a3c26ab0023427a0d.tar.gz
gnupg-2b5dca457ca4bc4465cc8b6a3c26ab0023427a0d.zip
Well and some stuff to access the SC will be helpful. Note, that the
code requires the latest OpenSC CVS code.
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r--scd/scdaemon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 4104e8753..8a5506d32 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -86,6 +86,12 @@ int card_enum_keypairs (CARD card, int idx,
unsigned char **keyid, size_t *nkeyid);
int card_read_cert (CARD card, const char *certidstr,
unsigned char **cert, size_t *ncert);
+int card_create_signature (CARD card,
+ const char *keyidstr, int hashalgo,
+ int (pincb)(void*, const char *, char **),
+ void *pincb_arg,
+ const void *indata, size_t indatalen,
+ void **outdata, size_t *outdatalen );