- added ingorelist for builded files
[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 "../pluto/x509.h"
25 #include "../pluto/keys.h"
26 #include "../pluto/ac.h"
27
28 /*
29 * global variables accessible by both main() and build.c
30 */
31 extern x509cert_t *user;
32 extern x509cert_t *signer;
33
34 extern ietfAttrList_t *groups;
35 extern struct RSA_private_key *signerkey;
36
37 extern time_t notBefore;
38 extern time_t notAfter;
39
40 extern chunk_t serial;
41
42 /*
43 * exported functions
44 */
45 extern chunk_t build_attr_cert(void);
46
47 #endif /* _BUILD_H */