22 |
#define WPT_GPG_H |
#define WPT_GPG_H |
23 |
|
|
24 |
#include "w32gpgme.h" |
#include "w32gpgme.h" |
25 |
|
#include "wptKeyCache.h" |
26 |
#include "wptNLS.h" |
#include "wptNLS.h" |
27 |
|
|
28 |
|
|
116 |
char keyid[16+1]; |
char keyid[16+1]; |
117 |
HWND hwnd; |
HWND hwnd; |
118 |
int cancel; |
int cancel; |
119 |
int is_card; |
unsigned int is_card:1; |
120 |
|
unsigned int bad_pwd:1; |
121 |
gpgme_ctx_t gpg; |
gpgme_ctx_t gpg; |
122 |
struct { |
struct { |
123 |
int sym_algo; |
int sym_algo; |
164 |
void init_gnupg_table (void); |
void init_gnupg_table (void); |
165 |
void free_gnupg_table (void); |
void free_gnupg_table (void); |
166 |
int keyring_check_last_access (void); |
int keyring_check_last_access (void); |
167 |
const char* gnupg_check_file_ext (const char * fname); |
const char* gnupg_check_file_ext (const char *fname, int *r_type); |
168 |
int gpg_check_permissions (int showmsg); |
int gpg_check_permissions (int showmsg); |
169 |
int gnupg_check_homedir (void); |
int gnupg_check_homedir (void); |
170 |
int gnupg_access_keyring (int _pub); |
int gnupg_access_keyring (int _pub); |
174 |
int gnupg_copy_keyrings (void); |
int gnupg_copy_keyrings (void); |
175 |
int check_gnupg_engine (int *r_major, int *r_minor, int *r_patch); |
int check_gnupg_engine (int *r_major, int *r_minor, int *r_patch); |
176 |
|
|
|
gpg_card_t smartcard_init (void); |
|
|
|
|
177 |
/*-- wptGPGME.cpp --*/ |
/*-- wptGPGME.cpp --*/ |
178 |
const char * get_signature_status( gpgme_sigsum_t sigstat ); |
const char * get_signature_status( gpgme_sigsum_t sigstat ); |
179 |
void keycache_reload( HWND dlg ); |
void keycache_reload( HWND dlg ); |