17 |
* along with WinPT; if not, write to the Free Software Foundation, |
* along with WinPT; if not, write to the Free Software Foundation, |
18 |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
19 |
*/ |
*/ |
|
|
|
20 |
#ifndef WPT_CONTEXT_H |
#ifndef WPT_CONTEXT_H |
21 |
#define WPT_CONTEXT_H |
#define WPT_CONTEXT_H |
22 |
|
|
36 |
unsigned int is_protected:1; /* secret key is protected. */ |
unsigned int is_protected:1; /* secret key is protected. */ |
37 |
unsigned int update:1; /* 1=need to reload key. */ |
unsigned int update:1; /* 1=need to reload key. */ |
38 |
unsigned int is_v3:1; /* key is version 3 (RSA/MD5) */ |
unsigned int is_v3:1; /* key is version 3 (RSA/MD5) */ |
39 |
|
unsigned int has_photo:1; /* 1=contains photo-id. */ |
40 |
unsigned int flags; |
unsigned int flags; |
41 |
gpgme_key_t ctx; /* if not NULL, the actualy gpgme key */ |
gpgme_key_t ctx; /* if not NULL, the actualy gpgme key */ |
42 |
struct keycache_s *ext; /* extended key attributes or NULL. */ |
struct keycache_s *ext; /* extended key attributes or NULL. */ |