cb570cd340456d2b75f7a40f828612e336b98ef8
[strongswan.git] / src / swanctl / swanctl.h
1 /*
2 * Copyright (C) 2014 Martin Willi
3 * Copyright (C) 2014 revosec AG
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 /**
17 * @defgroup swanctl swanctl
18 * @{
19 */
20
21 #ifndef SWANCTL_H_
22 #define SWANCTL_H_
23
24 /**
25 * Configuration file for connections, etc.
26 */
27 #define SWANCTL_CONF SWANCTLDIR "/swanctl.conf"
28
29 /**
30 * Directory for X.509 end entity certs
31 */
32 #define SWANCTL_X509DIR SWANCTLDIR "/x509"
33
34 /**
35 * Directory for X.509 CA certs
36 */
37 #define SWANCTL_X509CADIR SWANCTLDIR "/x509ca"
38
39 /**
40 * Directory for X.509 Attribute Authority certs
41 */
42 #define SWANCTL_X509AADIR SWANCTLDIR "/x509aa"
43
44 /**
45 * Directory for X.509 CRLs
46 */
47 #define SWANCTL_X509CRLDIR SWANCTLDIR "/x509crl"
48
49 /**
50 * Directory for X.509 Attribute certificates
51 */
52 #define SWANCTL_X509ACDIR SWANCTLDIR "/x509ac"
53
54 /**
55 * Directory for RSA private keys
56 */
57 #define SWANCTL_RSADIR SWANCTLDIR "/rsa"
58
59 /**
60 * Directory for ECDSA private keys
61 */
62 #define SWANCTL_ECDSADIR SWANCTLDIR "/ecdsa"
63
64 /**
65 * Directory for PKCS#8 encoded private keys
66 */
67 #define SWANCTL_PKCS8DIR SWANCTLDIR "/pkcs8"
68
69 /**
70 * Directory for PKCS#12 containers
71 */
72 #define SWANCTL_PKCS12DIR SWANCTLDIR "/pkcs12"
73
74 #endif /** SWANCTL_H_ @}*/