Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
certs.h
00001 /** 00002 * \file certs.h 00003 * 00004 * \brief Sample certificates and DHM parameters for testing 00005 * 00006 * Copyright (C) 2006-2010, Brainspark B.V. 00007 * 00008 * This file is part of PolarSSL (http://www.polarssl.org) 00009 * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> 00010 * 00011 * All rights reserved. 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation; either version 2 of the License, or 00016 * (at your option) any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License along 00024 * with this program; if not, write to the Free Software Foundation, Inc., 00025 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00026 */ 00027 #ifndef POLARSSL_CERTS_H 00028 #define POLARSSL_CERTS_H 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif 00033 00034 /* Concatenation of all available CA certificates */ 00035 extern const char test_ca_list[]; 00036 00037 /* 00038 * Convenience for users who just want a certificate: 00039 * RSA by default, or ECDSA if RSA i not available 00040 */ 00041 extern const char *test_ca_crt; 00042 extern const char *test_ca_key; 00043 extern const char *test_ca_pwd; 00044 extern const char *test_srv_crt; 00045 extern const char *test_srv_key; 00046 extern const char *test_cli_crt; 00047 extern const char *test_cli_key; 00048 00049 #if defined(POLARSSL_ECDSA_C) 00050 extern const char test_ca_crt_ec[]; 00051 extern const char test_ca_key_ec[]; 00052 extern const char test_ca_pwd_ec[]; 00053 extern const char test_srv_crt_ec[]; 00054 extern const char test_srv_key_ec[]; 00055 extern const char test_cli_crt_ec[]; 00056 extern const char test_cli_key_ec[]; 00057 #endif 00058 00059 #if defined(POLARSSL_RSA_C) 00060 extern const char test_ca_crt_rsa[]; 00061 extern const char test_ca_key_rsa[]; 00062 extern const char test_ca_pwd_rsa[]; 00063 extern const char test_srv_crt_rsa[]; 00064 extern const char test_srv_key_rsa[]; 00065 extern const char test_cli_crt_rsa[]; 00066 extern const char test_cli_key_rsa[]; 00067 #endif 00068 00069 #if defined(POLARSSL_DHM_C) 00070 extern const char test_dhm_params[]; 00071 #endif 00072 00073 #ifdef __cplusplus 00074 } 00075 #endif 00076 00077 #endif /* certs.h */ 00078 00079
Generated on Tue Jul 12 2022 19:40:15 by
1.7.2