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
31 extern "C" {
32 #endif
33 
34 /* Concatenation of all available CA certificates */
35 extern 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  */
41 extern const char *test_ca_crt;
42 extern const char *test_ca_key;
43 extern const char *test_ca_pwd;
44 extern const char *test_srv_crt;
45 extern const char *test_srv_key;
46 extern const char *test_cli_crt;
47 extern const char *test_cli_key;
48 
49 #if defined(POLARSSL_ECDSA_C)
50 extern const char test_ca_crt_ec[];
51 extern const char test_ca_key_ec[];
52 extern const char test_ca_pwd_ec[];
53 extern const char test_srv_crt_ec[];
54 extern const char test_srv_key_ec[];
55 extern const char test_cli_crt_ec[];
56 extern const char test_cli_key_ec[];
57 #endif
58 
59 #if defined(POLARSSL_RSA_C)
60 extern const char test_ca_crt_rsa[];
61 extern const char test_ca_key_rsa[];
62 extern const char test_ca_pwd_rsa[];
63 extern const char test_srv_crt_rsa[];
64 extern const char test_srv_key_rsa[];
65 extern const char test_cli_crt_rsa[];
66 extern const char test_cli_key_rsa[];
67 #endif
68 
69 #if defined(POLARSSL_DHM_C)
70 extern const char test_dhm_params[];
71 #endif
72 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #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