blob: 17ae853313e275b2653ee700b066a9806a9384f6 (
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
|
/* Pluto certificate/CRL/AC builder hooks.
* Copyright (C) 2009 Martin Willi
* 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.
*/
#ifndef _BUILDER_H
#define _BUILDER_H
/* types of pluto credentials */
typedef enum {
/* cert_t certificate, either x509 or PGP */
CRED_TYPE_CERTIFICATE,
/* x509crl_t certificate revocation list */
CRED_TYPE_CRL,
/* x509acert_t attribute certificate */
CRED_TYPE_AC,
} cred_type_t;
/* register credential builder hooks */
extern void init_builder();
/* unregister credential builder hooks */
extern void free_builder();
#endif /* _BUILDER_H */
|