Revision 22512,
1.5 KB
checked in by ghudson, 18 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r22511,
which included commits to RCS files with non-trunk default branches.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | /* NSS keys for the Gaim encryption plugin */ |
---|
2 | /* Copyright (C) 2001-2003 William Tompkins */ |
---|
3 | |
---|
4 | /* This plugin is free software, distributed under the GNU General Public */ |
---|
5 | /* License. */ |
---|
6 | /* Please see the file "COPYING" distributed with the Gaim source code */ |
---|
7 | /* for more details */ |
---|
8 | /* */ |
---|
9 | /* */ |
---|
10 | /* This software is distributed in the hope that it will be useful, */ |
---|
11 | /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ |
---|
12 | /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ |
---|
13 | /* General Public License for more details. */ |
---|
14 | |
---|
15 | /* To compile and use: */ |
---|
16 | /* See INSTALL file. */ |
---|
17 | |
---|
18 | #ifndef NSSRSA_H |
---|
19 | #define NSSRSA_H |
---|
20 | |
---|
21 | #include "gaim-encryption-config.h" |
---|
22 | |
---|
23 | #include <gdk/gdk.h> |
---|
24 | |
---|
25 | #include "nonce.h" |
---|
26 | |
---|
27 | /* suppress warnings: our header defines this, then nss tries to */ |
---|
28 | #ifdef HAVE_LONG_LONG |
---|
29 | #undef HAVE_LONG_LONG |
---|
30 | #endif |
---|
31 | /* From NSS libraries: */ |
---|
32 | #include <nss.h> |
---|
33 | #include <keyhi.h> |
---|
34 | |
---|
35 | typedef struct { |
---|
36 | SECKEYPrivateKey* priv; |
---|
37 | SECKEYPublicKey* pub; |
---|
38 | Nonce nonce; |
---|
39 | } RSA_NSS_KEY; |
---|
40 | |
---|
41 | extern gboolean rsa_nss_init(void); |
---|
42 | |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.