1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

gpg: New card function agent_scd_keypairinfo.

* g10/call-agent.c (scd_keypairinfo_status_cb)
(agent_scd_keypairinfo): New.  Taken from gpgsm.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2019-04-01 18:37:02 +02:00
parent 334b16b868
commit 0fad61de15
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 82 additions and 3 deletions

View file

@ -84,6 +84,9 @@ void agent_release_card_info (struct agent_card_info_s *info);
/* Return card info. */
int agent_scd_learn (struct agent_card_info_s *info, int force);
/* Get the keypariinfo directly from scdaemon. */
gpg_error_t agent_scd_keypairinfo (ctrl_t ctrl, strlist_t *r_list);
/* Return list of cards. */
int agent_scd_cardlist (strlist_t *result);