22 |
|
|
23 |
#include <gpgme.h> |
#include <gpgme.h> |
24 |
|
|
25 |
|
struct gpg_desig_rev_s; |
26 |
|
typedef struct gpg_desig_rev_s *gpg_desig_rev_t; |
27 |
|
|
28 |
/* key cache specific update flags. */ |
/* key cache specific update flags. */ |
29 |
enum keycache_flag_t { |
enum keycache_flag_t { |
30 |
KC_FLAG_ADD = 1, |
KC_FLAG_ADD = 1, |
46 |
unsigned int revoked : 1; |
unsigned int revoked : 1; |
47 |
gpgme_validity_t validity; |
gpgme_validity_t validity; |
48 |
|
|
49 |
|
gpgme_key_sig_t signatures; |
50 |
|
|
51 |
char *uid; |
char *uid; |
52 |
char *name; |
char *name; |
53 |
char *comment; |
char *comment; |
76 |
char *pref_keyserver; /* if != NULL preferred keyserver. */ |
char *pref_keyserver; /* if != NULL preferred keyserver. */ |
77 |
char *card_type; /* if != NULL key stored on smart card. */ |
char *card_type; /* if != NULL key stored on smart card. */ |
78 |
struct native_uid_s *uids; |
struct native_uid_s *uids; |
79 |
|
gpg_desig_rev_t rev; /* if != NULL list of desig revokers. */ |
80 |
}; |
}; |
81 |
|
|
82 |
struct gpg_keycache_s { |
struct gpg_keycache_s { |