removed some empty lines
[strongswan.git] / src / openac / build.h
1 /* Build a X.509 attribute certificate
2 * Copyright (C) 2002 Ueli Galizzi, Ariane Seiler
3 * Copyright (C) 2004 Andreas Steffen
4 * Zuercher Hochschule Winterthur, Switzerland
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 *
16 * RCSID $Id: build.h,v 1.4 2004/11/03 14:28:52 as Exp $
17 */
18
19 #ifndef _BUILD_H
20 #define _BUILD_H
21
22 #include <time.h>
23
24 #include <library.h>
25 #include <crypto/x509.h>
26 #include <crypto/rsa/rsa_private_key.h>
27 #include <utils/linked_list.h>
28
29 /*
30 * global variables accessible by both main() and build.c
31 */
32 extern x509_t *usercert;
33 extern x509_t *signercert;
34 extern rsa_private_key_t *signerkey;
35 extern linked_list_t *groups;
36 extern time_t notBefore;
37 extern time_t notAfter;
38 extern chunk_t serial;
39
40 /*
41 * exported functions
42 */
43 extern chunk_t build_attr_cert(void);
44
45 #endif /* _BUILD_H */