mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
card: Print matching OpenPGP and X.509 data.
* tools/card-tool-keys.c: New. * tools/Makefile.am (gpg_card_tool_SOURCES): Add file. * tools/card-tool.h (struct pubkey_s, pubkey_t): New. (struct userid_s, userid_t): New. (struct keyblock_s, keyblock_t): New. * common/util.h (GNUPG_PROTOCOL_): New const * tools/gpg-card-tool.c (aTest): Add temporary command. (list_one_kinfo): Print info from gpg and gpgsm. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
140fda8c61
commit
833f27a6a7
5 changed files with 605 additions and 10 deletions
|
@ -262,6 +262,13 @@ void gnupg_module_name_flush_some (void);
|
|||
void gnupg_set_builddir (const char *newdir);
|
||||
|
||||
|
||||
/* A list of constants to identify protocols. This is used by tools
|
||||
* which need to distinguish between the different protocols
|
||||
* implemented by GnuPG. May be used as bit flags. */
|
||||
#define GNUPG_PROTOCOL_OPENPGP 1 /* The one and only (gpg). */
|
||||
#define GNUPG_PROTOCOL_CMS 2 /* The core of S/MIME (gpgsm) */
|
||||
#define GNUPG_PROTOCOL_SSH_AGENT 4 /* Out ssh-agent implementation */
|
||||
|
||||
|
||||
/*-- gpgrlhelp.c --*/
|
||||
void gnupg_rl_initialize (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue