merged the modularization branch (credentials) back to trunk
[strongswan.git] / src / libstrongswan / credentials / keys / public_key.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 * $Id$
16 */
17
18 #include "public_key.h"
19
20 ENUM(key_type_names, KEY_RSA, KEY_RSA,
21 "RSA"
22 );
23
24 ENUM(signature_scheme_names, SIGN_DEFAULT, SIGN_RSA_EMSA_PKCS1_SHA512,
25 "DEFAULT",
26 "RSA_EMSA_PKCS1_MD5",
27 "RSA_EMSA_PKCS1_SHA1",
28 "RSA_EMSA_PKCS1_SHA256",
29 "RSA_EMSA_PKCS1_SHA384",
30 "RSA_EMSA_PKCS1_SHA512",
31 );
32