aboutsummaryrefslogtreecommitdiffstats
path: root/scd/card.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * scdaemon.c: Include i18n.h.Werner Koch2002-08-161-0/+33
| | | | | | | | | | | | | | * card-common.h (struct p15_private_s): Forward declaration. Add it to card_ctx_s. * card.c (card_close): Make sure private data is released. (card_enum_certs): New. * card-p15.c (p15_release_private_data): New. (init_private_data): New to work around an OpenSC weirdness. (p15_enum_keypairs): Do an OpenSC get_objects only once. (p15_enum_certs): New. (card_p15_bind): Bind new function. * command.c (cmd_learn): Return information about the certificates.
* * card-common.h (struct p15_private_s): Forward declaration. AddWerner Koch2002-08-161-0/+2
| | | | | | | | | it to card_ctx_s. * card.c (card_close): Make sure private data is released. * card-p15.c (p15_release_private_data): New. (init_private_data): New to work around an OpenSC weirdness. (p15_enum_keypairs): Do an OpenSC get_objects only once.
* * card.c (card_get_serial_and_stamp): Use the tokeinfo serialWerner Koch2002-08-091-48/+131
| | | | | number as a fallback. Add a special prefix for serial numbers.
* * scdaemon.c: New option --debug-sc N.Werner Koch2002-04-121-5/+6
| | | | | | | | | * card.c (card_open): set it here. * card-p15.c (p15_prepare_key): Factored out common code from ... (p15_sign, p15_decipher): here and made the decryption work the regular way.
* * card.c (card_open): Return immediately when no reader is available.Werner Koch2002-04-101-0/+1
|
* * card.c (card_open, card_close): Adjusted for changes in OpenSC.Werner Koch2002-03-281-60/+52
|
* Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch2002-03-181-382/+167
|
* Decryption using a Cryptoflex card does now work.Werner Koch2002-03-061-0/+100
|
* Well and some stuff to access the SC will be helpful. Note, that theWerner Koch2002-03-051-15/+55
| | | | | code requires the latest OpenSC CVS code.
* Added more code fragments.Werner Koch2002-03-041-15/+95
|
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-3/+205
| | | | | no real code yet.
* Some experimental code - don't use it.Werner Koch2002-02-181-0/+221