updated Doxyfile
[strongswan.git] / src / libstrongswan / plugins / x509 / x509_ac.h
1 /*
2 * Copyright (C) 2002 Ueli Galizzi, Ariane Seiler
3 * Copyright (C) 2003 Martin Berner, Lukas Suter
4 * Copyright (C) 2002-2008 Andreas Steffen
5 *
6 * 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 * $Id$
19 */
20
21 /**
22 * @defgroup x509_ac x509_ac
23 * @{ @ingroup x509_p
24 */
25
26 #ifndef X509_AC_H_
27 #define X509_AC_H_
28
29 #include <credentials/certificates/ac.h>
30
31 typedef struct x509_ac_t x509_ac_t;
32
33 /**
34 * Implementation of ac_t using own ASN1 parser.
35 */
36 struct x509_ac_t {
37
38 /**
39 * Implements the ac_t interface
40 */
41 ac_t interface;
42 };
43
44 /**
45 * Create the building facility for X.509 attribute certificates.
46 *
47 * The resulting builder accepts:
48 * BUILD_USER_CERT: user certificate, exactly one
49 * BUILD_SIGNER_CERT: signer certificate, exactly one
50 * BUILD_SIGNER_KEY: signer private key, exactly one
51 * BUILD_SERIAL: serial number, exactly one
52 * BUILD_GROUP_ATTR: group attribute, optional, several possible
53 *
54 * @param type certificate type, CERT_X509_AC only
55 * @return builder instance to build X.509 attribute certificates
56 */
57 builder_t *x509_ac_builder(certificate_type_t type);
58
59 #endif /** X509_AC_H_ @}*/