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