Simple interface for Mbed Cloud Client
Embed:
(wiki syntax)
Show/hide line numbers
fcc_output_info_handler_defines.h
00001 // ---------------------------------------------------------------------------- 00002 // Copyright 2016-2017 ARM Ltd. 00003 // 00004 // Licensed under the Apache License, Version 2.0 (the "License"); 00005 // you may not use this file except in compliance with the License. 00006 // You may obtain a copy of the License at 00007 // 00008 // http://www.apache.org/licenses/LICENSE-2.0 00009 // 00010 // Unless required by applicable law or agreed to in writing, software 00011 // distributed under the License is distributed on an "AS IS" BASIS, 00012 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 // See the License for the specific language governing permissions and 00014 // limitations under the License. 00015 // ---------------------------------------------------------------------------- 00016 00017 #ifndef __FCC_OUTPUT_INFO_HANDLER_DEFINES_H__ 00018 #define __FCC_OUTPUT_INFO_HANDLER_DEFINES_H__ 00019 00020 #include <stdlib.h> 00021 #include <stdbool.h> 00022 #include <inttypes.h> 00023 #include "kcm_status.h" 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 //General error string 00030 extern const char g_fcc_general_status_error_str[]; 00031 00032 //fcc error strings 00033 extern const char g_fcc_ca_error_str[]; 00034 extern const char g_fcc_rot_error_str[]; 00035 extern const char g_fcc_entropy_error_str[]; 00036 extern const char g_fcc_disabled_error_str[]; 00037 extern const char g_fcc_invalid_certificate_error_str[]; 00038 extern const char g_fcc_item_not_exists_error_str[]; 00039 extern const char g_fcc_meta_data_not_exists_error_str[]; 00040 extern const char g_fcc_meta_data_size_error_str[]; 00041 extern const char g_fcc_wrong_item_size_error_str[]; 00042 extern const char g_fcc_empty_item_error_str[]; 00043 extern const char g_fcc_uri_wrong_format_error_str[]; 00044 extern const char g_fcc_first_to_claim_not_allowed_error_str[]; 00045 extern const char g_fcc_wrong_utc_offset_value_error_str[]; 00046 extern const char g_fcc_wrong_ca_certificate_error_str[]; 00047 extern const char g_fcc_invalid_cn_certificate_error_str[]; 00048 extern const char g_fcc_crypto_public_key_correlation_error_str[]; 00049 extern const char g_fcc_internal_storage_error_str[]; 00050 00051 //kcm crypto error strings 00052 extern const char g_fcc_kcm_file_exist_error_str[]; 00053 extern const char g_fcc_kcm_invalid_num_of_cert_in_chain_str[]; 00054 extern const char g_fcc_crypto_empty_item_error_str[]; 00055 extern const char g_fcc_crypto_unsupported_hash_mode_error_str[]; 00056 extern const char g_fcc_crypto_parsing_der_pivate_key_error_str[]; 00057 extern const char g_fcc_crypto_parsing_der_public_key_error_str[]; 00058 extern const char g_fcc_crypto_verify_private_key_error_str[]; 00059 extern const char g_fcc_crypto_verify_public_key_error_str[]; 00060 extern const char g_fcc_crypto_unsupported_curve_error_str[]; 00061 extern const char g_fcc_crypto_parsing_der_cert_error_str[]; 00062 extern const char g_fcc_crypto_cert_expired_error_str[]; 00063 extern const char g_fcc_crypto_cert_future_error_str[]; 00064 extern const char g_fcc_crypto_cert_md_alg_error_str[]; 00065 extern const char g_fcc_crypto_cert_public_key_type_error_str[]; 00066 extern const char g_fcc_crypto_cert_public_key_error_str[]; 00067 extern const char g_fcc_crypto_cert_not_trusted_error_str[]; 00068 extern const char g_fcc_crypto_invalid_x509_attr_error_str[]; 00069 extern const char g_fcc_wrong_bootstrap_use_value_error_str[]; 00070 extern const char g_fcc_crypto_invalid_pk_key_format_error_str[]; 00071 extern const char g_fcc_crypto_invalid_public_key_error_str[]; 00072 extern const char g_fcc_crypto_ecp_invalid_key_error_str[]; 00073 extern const char g_fcc_crypto_pk_key_invalid_version_error_str[]; 00074 extern const char g_fcc_crypto_pk_password_requerd_error_str[]; 00075 extern const char g_fcc_crypto_unknown_pk_algorithm_error_str[]; 00076 00077 //warning strings 00078 extern const char g_fcc_item_not_set_warning_str[]; 00079 extern const char g_fcc_bootstrap_mode_false_warning_str[]; 00080 extern const char g_fcc_time_is_not_set_warning_str[]; 00081 extern const char g_fcc_self_signed_warning_str[]; 00082 extern const char g_fcc_item_is_empty_warning_str[]; 00083 extern const char g_fcc_redundant_item_warning_str[]; 00084 extern const char g_fcc_cert_time_validity_warning_str[]; 00085 extern const char g_fcc_cert_validity_less_10_years_warning_str[]; 00086 extern const char g_fcc_ca_identifier_warning_str[]; 00087 #ifdef __cplusplus 00088 } 00089 #endif 00090 00091 #endif //__FCC_OUTPUT_INFO_HANDLER_DEFINES_H__
Generated on Tue Jul 12 2022 19:01:34 by 1.7.2