2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FSecCertTypes.h
20 * @brief This is the header file for the %CertTypes definitions.
22 * This header file contains the %CertTypes definitions.
24 #ifndef _FSEC_CERT_TYPES_H_
25 #define _FSEC_CERT_TYPES_H_
27 namespace Tizen { namespace Security { namespace Cert
31 * @enum ValidationResult
33 * Defines the validation result.
39 VALIDATION_SUCCESS = 0, /**< Success */
40 VALIDATION_ERROR_INVALID_PATH, /**< The certificate path does not validate */
41 VALIDATION_ERROR_NO_ROOT, /**< The root certificate is not found */
42 VALIDATION_ERROR_CERT_EXPIRED, /**< The certificate date falls outside the validity period */
43 VALIDATION_ERROR_CERT_REVOKED, /**< The certificate has been revoked */
44 VALIDATION_ERROR_INVALID_SIGNATURE, /**< The signature is not valid */
48 } } } //Tizen::Security::Cert
50 #endif // _FSEC_CERT_TYPES_H_