ECDSA with OpenSSL
[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_ECDSA,
21 "RSA",
22 "ECDSA"
23 );
24
25 ENUM(signature_scheme_names, SIGN_DEFAULT, SIGN_ECDSA_521,
26 "DEFAULT",
27 "RSA_EMSA_PKCS1_MD5",
28 "RSA_EMSA_PKCS1_SHA1",
29 "RSA_EMSA_PKCS1_SHA256",
30 "RSA_EMSA_PKCS1_SHA384",
31 "RSA_EMSA_PKCS1_SHA512",
32 "ECDSA_WITH_SHA1",
33 "ECDSA-256",
34 "ECDSA-384",
35 "ECDSA-521",
36 );
37