diff options
| author | Werner Koch <[email protected]> | 2002-08-16 14:23:40 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2002-08-16 14:23:40 +0000 |
| commit | 8ed2348ae537dcab4ba1413031e6bd834ecc30d4 (patch) | |
| tree | 4906addc325bb0465c6d0c92ce72b61dcac7da13 /scd/scdaemon.h | |
| parent | Renamed some configure flags. (diff) | |
| download | gnupg-8ed2348ae537dcab4ba1413031e6bd834ecc30d4.tar.gz gnupg-8ed2348ae537dcab4ba1413031e6bd834ecc30d4.zip | |
* scdaemon.c: Include i18n.h.
* 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.
Diffstat (limited to 'scd/scdaemon.h')
| -rw-r--r-- | scd/scdaemon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h index 97bf93d36..9fbf891bb 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -85,6 +85,7 @@ int card_get_serial_and_stamp (CARD card, char **serial, time_t *stamp); int card_enum_keypairs (CARD card, int idx, unsigned char *keygrip, char **keyid); +int card_enum_certs (CARD card, int idx, char **certid, int *certtype); int card_read_cert (CARD card, const char *certidstr, unsigned char **cert, size_t *ncert); int card_sign (CARD card, |
