aboutsummaryrefslogtreecommitdiffstats
path: root/scd/card-p15.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * scdaemon.c: Include i18n.h.Werner Koch2002-08-161-0/+67
| | | | | | | | | | | | | | * 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-10/+63
| | | | | | | | | 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-1/+2
| | | | | number as a fallback. Add a special prefix for serial numbers.
* * scdaemon.c: New option --debug-sc N.Werner Koch2002-04-121-80/+59
| | | | | | | | | * 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, card_close): Adjusted for changes in OpenSC.Werner Koch2002-03-281-2/+1
|
* More stuff for SCs - don't expect them to work.Werner Koch2002-03-181-0/+399