diff options
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index 0e2cc9f40..fa2c61d06 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -233,6 +233,9 @@ gpg_error_t agent_public_key_from_file (ctrl_t ctrl, const unsigned char *grip, gcry_sexp_t *result); int agent_key_available (const unsigned char *grip); +gpg_error_t agent_key_info_from_file (ctrl_t ctrl, const unsigned char *grip, + int *r_keytype, + unsigned char **r_shadow_info); /*-- call-pinentry.c --*/ void initialize_module_call_pinentry (void); @@ -294,6 +297,8 @@ int agent_shadow_key (const unsigned char *pubkey, unsigned char **result); int agent_get_shadow_info (const unsigned char *shadowkey, unsigned char const **shadow_info); +gpg_error_t parse_shadow_info (const unsigned char *shadow_info, + char **r_hexsn, char **r_idstr); /*-- trustlist.c --*/ |