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