summaryrefslogtreecommitdiff
path: root/src/swanctl/swanctl.h
blob: eac1fc6d033129b24cc582e331f4d218dccaf993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
 * Copyright (C) 2014 Martin Willi
 * Copyright (C) 2014 revosec AG
 *
 * Copyright (C) 2016 Tobias Brunner
 * Copyright (C) 2015 Andreas Steffen
 * HSR Hochschule fuer Technik Rapperswil
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.  See <http://www.fsf.org/copyleft/gpl.txt>.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 */

/**
 * @defgroup swanctl swanctl
 * @{
 */

#ifndef SWANCTL_H_
#define SWANCTL_H_

/**
 * Configuration file for connections, etc.
 */
#define SWANCTL_CONF SWANCTLDIR "/swanctl.conf"

/**
 * Directory for X.509 end entity certs
 */
#define SWANCTL_X509DIR SWANCTLDIR "/x509"

/**
 * Directory for X.509 CA certs
 */
#define SWANCTL_X509CADIR SWANCTLDIR "/x509ca"

/**
 * Directory for X.509 Attribute Authority certs
 */
#define SWANCTL_X509AADIR SWANCTLDIR "/x509aa"

/**
 * Directory for X.509 OCSP Signer certs
 */
#define SWANCTL_X509OCSPDIR SWANCTLDIR "/x509ocsp"

/**
 * Directory for X.509 CRLs
 */
#define SWANCTL_X509CRLDIR SWANCTLDIR "/x509crl"

/**
 * Directory for X.509 Attribute certificates
 */
#define SWANCTL_X509ACDIR SWANCTLDIR "/x509ac"

/**
 * Directory for raw public keys
 */
#define SWANCTL_PUBKEYDIR SWANCTLDIR "/pubkey"

/**
 * Directory for private keys
 */
#define SWANCTL_PRIVATEDIR SWANCTLDIR "/private"

/**
 * Directory for RSA private keys
 */
#define SWANCTL_RSADIR SWANCTLDIR "/rsa"

/**
 * Directory for ECDSA private keys
 */
#define SWANCTL_ECDSADIR SWANCTLDIR "/ecdsa"

/**
 * Directory for BLISS private keys
 */
#define SWANCTL_BLISSDIR SWANCTLDIR "/bliss"

/**
 * Directory for PKCS#8 encoded private keys
 */
#define SWANCTL_PKCS8DIR SWANCTLDIR "/pkcs8"

/**
 * Directory for PKCS#12 containers
 */
#define SWANCTL_PKCS12DIR SWANCTLDIR "/pkcs12"

#endif /** SWANCTL_H_ @}*/