1 /* $Id$
2  *
3  * Lasso - A free implementation of the Liberty Alliance specifications.
4  *
5  * Copyright (C) 2004-2007 Entr'ouvert
6  * http://lasso.entrouvert.org
7  *
8  * Authors: See AUTHORS file in top-level directory.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef __LASSO_XML_ENC_H__
25 #define __LASSO_XML_ENC_H__
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif /* __cplusplus */
30 
31 #include <xmlsec/xmlenc.h>
32 
33 #include "xml.h"
34 
35 /**
36  * LassoEncryptionSymKeyType:
37  * @LASSO_ENCRYPTION_SYM_KEY_TYPE_DEFAULT : Default type (AES 128)
38  * @LASSO_ENCRYPTION_SYM_KEY_TYPE_AES_256 : Aes 256 bits key
39  * @LASSO_ENCRYPTION_SYM_KEY_TYPE_AES_128 : Aes 128 bits key
40  * @LASSO_ENCRYPTION_SYM_KEY_TYPE_3DES : Triple DES 192 bits key
41  *
42  * Encryption symetric key type.
43  **/
44 typedef enum {
45 	LASSO_ENCRYPTION_SYM_KEY_TYPE_DEFAULT,
46 	LASSO_ENCRYPTION_SYM_KEY_TYPE_AES_256,
47 	LASSO_ENCRYPTION_SYM_KEY_TYPE_AES_128,
48 	LASSO_ENCRYPTION_SYM_KEY_TYPE_3DES,
49 	LASSO_ENCRYTPION_SYM_KEY_TYPE_LAST
50 } LassoEncryptionSymKeyType;
51 
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55 
56 #endif /* __LASSO_XML_H__ */
57