mbed TLS library
Dependents: HTTPClient-SSL WS_SERVER
certs.h
00001 /** 00002 * \file certs.h 00003 * 00004 * \brief Sample certificates and DHM parameters for testing 00005 * 00006 * Copyright (C) 2006-2010, ARM Limited, All Rights Reserved 00007 * 00008 * This file is part of mbed TLS (https://tls.mbed.org) 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License along 00021 * with this program; if not, write to the Free Software Foundation, Inc., 00022 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00023 */ 00024 #ifndef POLARSSL_CERTS_H 00025 #define POLARSSL_CERTS_H 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 /* Concatenation of all available CA certificates */ 00032 extern const char test_ca_list[]; 00033 00034 /* 00035 * Convenience for users who just want a certificate: 00036 * RSA by default, or ECDSA if RSA i not available 00037 */ 00038 extern const char *test_ca_crt; 00039 extern const char *test_ca_key; 00040 extern const char *test_ca_pwd; 00041 extern const char *test_srv_crt; 00042 extern const char *test_srv_key; 00043 extern const char *test_cli_crt; 00044 extern const char *test_cli_key; 00045 00046 #if defined(POLARSSL_ECDSA_C) 00047 extern const char test_ca_crt_ec[]; 00048 extern const char test_ca_key_ec[]; 00049 extern const char test_ca_pwd_ec[]; 00050 extern const char test_srv_crt_ec[]; 00051 extern const char test_srv_key_ec[]; 00052 extern const char test_cli_crt_ec[]; 00053 extern const char test_cli_key_ec[]; 00054 #endif 00055 00056 #if defined(POLARSSL_RSA_C) 00057 extern const char test_ca_crt_rsa[]; 00058 extern const char test_ca_key_rsa[]; 00059 extern const char test_ca_pwd_rsa[]; 00060 extern const char test_srv_crt_rsa[]; 00061 extern const char test_srv_key_rsa[]; 00062 extern const char test_cli_crt_rsa[]; 00063 extern const char test_cli_key_rsa[]; 00064 #endif 00065 00066 #if defined(POLARSSL_DHM_C) 00067 extern const char test_dhm_params[]; 00068 #endif 00069 00070 #ifdef __cplusplus 00071 } 00072 #endif 00073 00074 #endif /* certs.h */ 00075
Generated on Tue Jul 12 2022 13:50:36 by 1.7.2