tizen 2.3 release
[framework/web/wearable/wrt-security.git] / src / services / ace / logic / acf_consts.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /*
17  * This file contain consts for Signing Template and Policy Manager
18  * This values will be used to specified and identified algorithms in xml policy documents.
19  * Its consistent with BONDI 1.0 released requirements
20  *
21  * NOTE: This values should be verified when ACF will be updated to the latest version of BONDI requirements
22  * This values comes from widget digital signature 1.0 - required version of this doc is very important
23  *
24  **/
25
26 #ifndef ACF_CONSTS_TYPES_H
27 #define ACF_CONSTS_TYPES_H
28
29 //Digest Algorithms
30 extern const char* DIGEST_ALG_SHA256;
31
32 //Canonicalization Algorithms
33 extern const char* CANONICAL_ALG_C14N;
34
35 //Signature Algorithms
36 extern const char* SIGNATURE_ALG_RSA_with_SHA256;
37 extern const char* SIGNATURE_ALG_DSA_with_SHA1;
38 extern const char* SIGNATURE_ALG_ECDSA_with_SHA256;
39
40 #endif
41