Rename include directory to mbedtls
This commit is contained in:
parent
129db08c90
commit
7f8099773e
250 changed files with 908 additions and 908 deletions
74
include/mbedtls/certs.h
Normal file
74
include/mbedtls/certs.h
Normal file
|
@ -0,0 +1,74 @@
|
|||
/**
|
||||
* \file certs.h
|
||||
*
|
||||
* \brief Sample certificates and DHM parameters for testing
|
||||
*
|
||||
* Copyright (C) 2006-2010, ARM Limited, All Rights Reserved
|
||||
*
|
||||
* This file is part of mbed TLS (https://tls.mbed.org)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
#ifndef POLARSSL_CERTS_H
|
||||
#define POLARSSL_CERTS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Concatenation of all available CA certificates */
|
||||
extern const char test_ca_list[];
|
||||
|
||||
/*
|
||||
* Convenience for users who just want a certificate:
|
||||
* RSA by default, or ECDSA if RSA is not available
|
||||
*/
|
||||
extern const char *test_ca_crt;
|
||||
extern const char *test_ca_key;
|
||||
extern const char *test_ca_pwd;
|
||||
extern const char *test_srv_crt;
|
||||
extern const char *test_srv_key;
|
||||
extern const char *test_cli_crt;
|
||||
extern const char *test_cli_key;
|
||||
|
||||
#if defined(POLARSSL_ECDSA_C)
|
||||
extern const char test_ca_crt_ec[];
|
||||
extern const char test_ca_key_ec[];
|
||||
extern const char test_ca_pwd_ec[];
|
||||
extern const char test_srv_crt_ec[];
|
||||
extern const char test_srv_key_ec[];
|
||||
extern const char test_cli_crt_ec[];
|
||||
extern const char test_cli_key_ec[];
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_RSA_C)
|
||||
extern const char test_ca_crt_rsa[];
|
||||
extern const char test_ca_key_rsa[];
|
||||
extern const char test_ca_pwd_rsa[];
|
||||
extern const char test_srv_crt_rsa[];
|
||||
extern const char test_srv_key_rsa[];
|
||||
extern const char test_cli_crt_rsa[];
|
||||
extern const char test_cli_key_rsa[];
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_DHM_C)
|
||||
extern const char test_dhm_params[];
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* certs.h */
|
Loading…
Add table
Add a link
Reference in a new issue