PolarSSL v1.3.9
certs.h
Go to the documentation of this file.
1
27#ifndef POLARSSL_CERTS_H
28#define POLARSSL_CERTS_H
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/* Concatenation of all available CA certificates */
35extern const char test_ca_list[];
36
37/*
38 * Convenience for users who just want a certificate:
39 * RSA by default, or ECDSA if RSA i not available
40 */
41extern const char *test_ca_crt;
42extern const char *test_ca_key;
43extern const char *test_ca_pwd;
44extern const char *test_srv_crt;
45extern const char *test_srv_key;
46extern const char *test_cli_crt;
47extern const char *test_cli_key;
48
49#if defined(POLARSSL_ECDSA_C)
50extern const char test_ca_crt_ec[];
51extern const char test_ca_key_ec[];
52extern const char test_ca_pwd_ec[];
53extern const char test_srv_crt_ec[];
54extern const char test_srv_key_ec[];
55extern const char test_cli_crt_ec[];
56extern const char test_cli_key_ec[];
57#endif
58
59#if defined(POLARSSL_RSA_C)
60extern const char test_ca_crt_rsa[];
61extern const char test_ca_key_rsa[];
62extern const char test_ca_pwd_rsa[];
63extern const char test_srv_crt_rsa[];
64extern const char test_srv_key_rsa[];
65extern const char test_cli_crt_rsa[];
66extern const char test_cli_key_rsa[];
67#endif
68
69#if defined(POLARSSL_DHM_C)
70extern const char test_dhm_params[];
71#endif
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif /* certs.h */
const char * test_srv_key
const char test_ca_list[]
const char * test_ca_key
const char * test_ca_crt
const char * test_cli_key
const char * test_srv_crt
const char * test_ca_pwd
const char * test_cli_crt