]> git.zerfleddert.de Git - proxmark3-svn/blame - common/mbedtls/certs.h
Update list of known EMV AIDs. Source: https://www.eftlab.co.uk/index.php/site-map...
[proxmark3-svn] / common / mbedtls / certs.h
CommitLineData
700d8687
OM
1/**
2 * \file certs.h
3 *
4 * \brief Sample certificates and DHM parameters for testing
5 */
6/*
7 * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
8 * SPDX-License-Identifier: GPL-2.0
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License along
21 * with this program; if not, write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 *
24 * This file is part of mbed TLS (https://tls.mbed.org)
25 */
26#ifndef MBEDTLS_CERTS_H
27#define MBEDTLS_CERTS_H
28
29#include <stddef.h>
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#if defined(MBEDTLS_PEM_PARSE_C)
36/* Concatenation of all CA certificates in PEM format if available */
37extern const char mbedtls_test_cas_pem[];
38extern const size_t mbedtls_test_cas_pem_len;
39#endif
40
41/* List of all CA certificates, terminated by NULL */
42extern const char * mbedtls_test_cas[];
43extern const size_t mbedtls_test_cas_len[];
44
45/*
46 * Convenience for users who just want a certificate:
47 * RSA by default, or ECDSA if RSA is not available
48 */
49extern const char * mbedtls_test_ca_crt;
50extern const size_t mbedtls_test_ca_crt_len;
51extern const char * mbedtls_test_ca_key;
52extern const size_t mbedtls_test_ca_key_len;
53extern const char * mbedtls_test_ca_pwd;
54extern const size_t mbedtls_test_ca_pwd_len;
55extern const char * mbedtls_test_srv_crt;
56extern const size_t mbedtls_test_srv_crt_len;
57extern const char * mbedtls_test_srv_key;
58extern const size_t mbedtls_test_srv_key_len;
59extern const char * mbedtls_test_cli_crt;
60extern const size_t mbedtls_test_cli_crt_len;
61extern const char * mbedtls_test_cli_key;
62extern const size_t mbedtls_test_cli_key_len;
63
64#if defined(MBEDTLS_ECDSA_C)
65extern const char mbedtls_test_ca_crt_ec[];
66extern const size_t mbedtls_test_ca_crt_ec_len;
67extern const char mbedtls_test_ca_key_ec[];
68extern const size_t mbedtls_test_ca_key_ec_len;
69extern const char mbedtls_test_ca_pwd_ec[];
70extern const size_t mbedtls_test_ca_pwd_ec_len;
71extern const char mbedtls_test_srv_crt_ec[];
72extern const size_t mbedtls_test_srv_crt_ec_len;
73extern const char mbedtls_test_srv_key_ec[];
74extern const size_t mbedtls_test_srv_key_ec_len;
75extern const char mbedtls_test_cli_crt_ec[];
76extern const size_t mbedtls_test_cli_crt_ec_len;
77extern const char mbedtls_test_cli_key_ec[];
78extern const size_t mbedtls_test_cli_key_ec_len;
79#endif
80
81#if defined(MBEDTLS_RSA_C)
82extern const char mbedtls_test_ca_crt_rsa[];
83extern const size_t mbedtls_test_ca_crt_rsa_len;
84extern const char mbedtls_test_ca_key_rsa[];
85extern const size_t mbedtls_test_ca_key_rsa_len;
86extern const char mbedtls_test_ca_pwd_rsa[];
87extern const size_t mbedtls_test_ca_pwd_rsa_len;
88extern const char mbedtls_test_srv_crt_rsa[];
89extern const size_t mbedtls_test_srv_crt_rsa_len;
90extern const char mbedtls_test_srv_key_rsa[];
91extern const size_t mbedtls_test_srv_key_rsa_len;
92extern const char mbedtls_test_cli_crt_rsa[];
93extern const size_t mbedtls_test_cli_crt_rsa_len;
94extern const char mbedtls_test_cli_key_rsa[];
95extern const size_t mbedtls_test_cli_key_rsa_len;
96#endif
97
98#ifdef __cplusplus
99}
100#endif
101
102#endif /* certs.h */
Impressum, Datenschutz