22 |
#define WPT_KEY_EDIT_H |
#define WPT_KEY_EDIT_H |
23 |
|
|
24 |
/* IDs for all possible gpg edit key commands. */ |
/* IDs for all possible gpg edit key commands. */ |
25 |
enum { |
enum gpg_editkey_t { |
26 |
GPG_EDITKEY_SIGN = 1, |
GPG_EDITKEY_SIGN = 1, |
27 |
GPG_EDITKEY_LSIGN = 2, |
GPG_EDITKEY_LSIGN = 2, |
28 |
GPG_EDITKEY_NRSIGN = 19, |
GPG_EDITKEY_NRSIGN = 19, |
50 |
}; |
}; |
51 |
|
|
52 |
/* Reasons for revocations. */ |
/* Reasons for revocations. */ |
53 |
enum { |
enum gpg_revoke_t { |
54 |
GPG_REVOKE_INSECURE = 1, |
GPG_REVOKE_INSECURE = 1, |
55 |
GPG_REVOKE_SUPERSEDED = 2, |
GPG_REVOKE_SUPERSEDED = 2, |
56 |
GPG_REVOKE_NOUSED = 3 |
GPG_REVOKE_NOUSED = 3 |
58 |
|
|
59 |
|
|
60 |
/* Possible results for the operation. */ |
/* Possible results for the operation. */ |
61 |
enum { |
enum gpg_edit_result_t { |
62 |
GPG_EDITRES_ALREADY_SIGNED = 1, |
GPG_EDITRES_ALREADY_SIGNED = 1, |
63 |
GPG_EDITRES_BAD_PASSPHRASE = 2 |
GPG_EDITRES_BAD_PASSPHRASE = 2 |
64 |
}; |
}; |