53 |
|
|
54 |
/* Symbolic column IDs. */ |
/* Symbolic column IDs. */ |
55 |
enum km_col_t { |
enum km_col_t { |
56 |
KM_COL_UID = 0, |
KM_COL_UID = 0, |
57 |
KM_COL_KEYID = 1, |
KM_COL_KEYID = 1, |
58 |
KM_COL_TYPE = 2, |
KM_COL_TYPE = 2, |
59 |
KM_COL_SIZE = 3, |
KM_COL_SIZE = 3, |
60 |
KM_COL_CIPHER = 4, |
KM_COL_CIPHER = 4, |
61 |
KM_COL_VALID = 5, |
KM_COL_VALID = 5, |
62 |
KM_COL_TRUST = 6, |
KM_COL_TRUST = 6, |
63 |
KM_COL_CREAT = 7 |
KM_COL_CREAT = 7 |
64 |
}; |
}; |
65 |
|
|
|
|
|
66 |
/* Signature verification context for a file. */ |
/* Signature verification context for a file. */ |
67 |
struct file_sig_ctx_s { |
struct file_sig_ctx_s { |
68 |
char *file; /* plaintext file name */ |
char *file; /* plaintext file name */ |
73 |
typedef struct file_sig_ctx_s *file_sig_ctx_t; |
typedef struct file_sig_ctx_s *file_sig_ctx_t; |
74 |
|
|
75 |
/*-- keylist.c --*/ |
/*-- keylist.c --*/ |
|
const char* get_key_pubalgo (gpgme_pubkey_algo_t alg); |
|
76 |
const char* get_key_pubalgo2 (gpgme_pubkey_algo_t alg); |
const char* get_key_pubalgo2 (gpgme_pubkey_algo_t alg); |
77 |
|
const char* get_key_pubalgo (gpgme_pubkey_algo_t alg); |
78 |
const char * get_key_algo( gpgme_key_t key, int keyidx ); |
const char * get_key_algo( gpgme_key_t key, int keyidx ); |
79 |
const char * get_key_created( long timestamp ); |
const char * get_key_created( long timestamp ); |
80 |
const char * get_key_expire_date( long timestamp ); |
const char * get_key_expire_date( long timestamp ); |
97 |
void keylist_delete( listview_ctrl_t lv ); |
void keylist_delete( listview_ctrl_t lv ); |
98 |
int keylist_add_key (listview_ctrl_t lv, int mode, gpgme_key_t key); |
int keylist_add_key (listview_ctrl_t lv, int mode, gpgme_key_t key); |
99 |
void keylist_upd_key (listview_ctrl_t lv, int pos, gpgme_key_t key); |
void keylist_upd_key (listview_ctrl_t lv, int pos, gpgme_key_t key); |
100 |
|
void keylist_upd_col (listview_ctrl_t lv, int col); |
101 |
gpgme_key_t* keylist_get_recipients( listview_ctrl_t lv, |
gpgme_key_t* keylist_get_recipients( listview_ctrl_t lv, |
102 |
int *r_force_trust, int *r_count ); |
int *r_force_trust, int *r_count ); |
103 |
gpgme_key_t* keylist_enum_recipients( listview_ctrl_t lv, int listype, int *r_count ); |
gpgme_key_t* keylist_enum_recipients( listview_ctrl_t lv, int listype, int *r_count ); |