/* NSS keys for the Pidgin encryption plugin */ /* Copyright (C) 2001-2003 William Tompkins */ /* This plugin is free software, distributed under the GNU General Public */ /* License. */ /* Please see the file "COPYING" distributed with this source code */ /* for more details */ /* */ /* */ /* This software is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU */ /* General Public License for more details. */ /* To compile and use: */ /* See INSTALL file. */ #ifndef NSSRSA_H #define NSSRSA_H #include "pidgin-encryption-config.h" #include #include "nonce.h" /* suppress warnings: our header defines this, then nss tries to */ #ifdef HAVE_LONG_LONG #undef HAVE_LONG_LONG #endif /* From NSS libraries: */ #include #include typedef struct { SECKEYPrivateKey* priv; SECKEYPublicKey* pub; Nonce nonce; } RSA_NSS_KEY; extern gboolean rsa_nss_init(void); #endif