2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FSecCertTypes.h
19 * @brief This is the header file for the %CertTypes definitions.
21 * This header file contains the %CertTypes definitions.
23 #ifndef _FSEC_CERT_TYPES_H_
24 #define _FSEC_CERT_TYPES_H_
26 namespace Tizen { namespace Security { namespace Cert
30 * @enum ValidationResult
32 * Defines the validation result.
38 VALIDATION_SUCCESS = 0, /**< Success */
39 VALIDATION_ERROR_INVALID_PATH, /**< The certificate path does not validate */
40 VALIDATION_ERROR_NO_ROOT, /**< The root certificate is not found */
41 VALIDATION_ERROR_CERT_EXPIRED, /**< The certificate date falls outside the validity period */
42 VALIDATION_ERROR_CERT_REVOKED, /**< The certificate has been revoked */
43 VALIDATION_ERROR_INVALID_SIGNATURE, /**< The signature is not valid */
47 } } } //Tizen::Security::Cert
49 #endif // _FSEC_CERT_TYPES_H_