b99e63eab228a3acaa14aefbdd8385ed412566be
[strongswan.git] / src / libstrongswan / credentials / certificates / certificate.c
1 /*
2 * Copyright (C) 2007 Martin Willi
3 * Hochschule fuer Technik Rapperswil
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 #include "certificate.h"
17
18 #include <credentials/certificates/x509.h>
19
20 ENUM(certificate_type_names, CERT_ANY, CERT_PLUTO_CRL,
21 "ANY",
22 "X509",
23 "X509_CRL",
24 "X509_OCSP_REQUEST",
25 "X509_OCSP_RESPONSE",
26 "X509_AC",
27 "PKCS10_REQUEST",
28 "TRUSTED_PUBKEY",
29 "PGP",
30 "PLUTO_CERT",
31 "PLUTO_AC",
32 "PLUTO_CRL",
33 );
34
35 ENUM(cert_validation_names, VALIDATION_GOOD, VALIDATION_REVOKED,
36 "GOOD",
37 "SKIPPED",
38 "STALE",
39 "FAILED",
40 "REVOKED",
41 );
42