certificate: implement certificate store
[siplcs.git] / src / core / sipe-cert-crypto-nss.c
blob07357558b0345ae0c9cd68b8c88a9b69d9af6e0f
1 /**
2 * @file sipe-cert-crypto-nss.c
4 * pidgin-sipe
6 * Copyright (C) 2011 SIPE Project <http://sipe.sourceforge.net/>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 /**
24 * Certificate routines implementation based on NSS.
27 #include <glib.h>
29 #include "pk11pub.h"
31 #include "sipe-backend.h"
32 #include "sipe-cert-crypto.h"
34 struct sipe_cert_crypto {
35 int temporary_dummy;
38 struct sipe_cert_crypto *sipe_cert_crypto_init(void)
40 return(NULL);
43 void sipe_cert_crypto_free(struct sipe_cert_crypto *ssc)
45 if (ssc) {
46 g_free(ssc);
50 gchar *sipe_cert_crypto_request(struct sipe_cert_crypto *ssc,
51 const gchar *subject)
53 /* temporary */
54 (void)ssc;
55 (void)subject;
56 return(NULL);
59 void sipe_cert_crypto_destroy(gpointer certificate)
61 /* temporary */
62 (void)certificate;
66 Local Variables:
67 mode: c
68 c-file-style: "bsd"
69 indent-tabs-mode: t
70 tab-width: 8
71 End: