1 |
/* wptCrypto.h |
2 |
* Copyright (C) 2005, 2008, 2009 Timo Schulz |
3 |
* |
4 |
* This file is part of WinPT. |
5 |
* |
6 |
* WinPT is free software; you can redistribute it and/or modify |
7 |
* it under the terms of the GNU General Public License as published by |
8 |
* the Free Software Foundation; either version 2 of the License, or |
9 |
* (at your option) any later version. |
10 |
* |
11 |
* WinPT is distributed in the hope that it will be useful, |
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
* GNU General Public License for more details. |
15 |
*/ |
16 |
#ifndef WPT_CRYPTO_H |
17 |
#define WPT_CRYPTO_H |
18 |
|
19 |
/* Possible PGP message types. */ |
20 |
enum pgp_type_t { |
21 |
PGP_NONE = 0, |
22 |
PGP_MESSAGE = 1, |
23 |
PGP_CLEARSIG = 2, |
24 |
PGP_SIG = 4, |
25 |
PGP_PUBKEY = 8, |
26 |
PGP_SECKEY = 16, |
27 |
PGP_DASH_ESCAPED = 32 /* actually not a type, just a flag */ |
28 |
}; |
29 |
|
30 |
#endif /*WPT_CRYPTO_H*/ |