Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
test_certs.h
Go to the documentation of this file.
1 //
4 //
5 #ifndef _INC_test_certs_H
6 #define _INC_test_certs_H
7 #ifndef NO_PRAGMA_ONCE
8 #pragma once
9 #endif
10 
11 #include "cSSLCompileOptions.h"
12 
13 namespace GraySSL
14 {
15  // Concatenation of all available CA certificates. m_ca_crt
16  extern const char k_test_ca_list[];
17 
18  struct cSSLTestCert // static
19  {
24  //
25 
26  const char* m_ca_crt;
27  const char* m_ca_key;
28  const char* m_ca_pwd; // NOT USED
29 
30  const char* m_srv_crt;
31  const char* m_srv_key;
32 
33  const char* m_cli_crt; // Read this with ReadFromUnk()
34  const char* m_cli_key;
35  };
36 
37 #if defined(USE_Key_ECDSA)
38  extern const cSSLTestCert k_TestCert_ec;
39 #endif
40 
41 #if defined(USE_Key_RSA)
42  extern const cSSLTestCert k_TestCert_rsa;
43 #endif
44 
45  extern const cSSLTestCert k_TestCert;
46 }
47 
48 #endif
Definition: GraySSL.cpp:11
const char k_test_ca_list[]
Definition: test_certs.cpp:261
const cSSLTestCert k_TestCert
Definition: test_certs.h:19
const char * m_srv_key
Definition: test_certs.h:31
const char * m_cli_crt
Definition: test_certs.h:33
const char * m_ca_pwd
Definition: test_certs.h:28
const char * m_cli_key
Definition: test_certs.h:34
const char * m_srv_crt
Definition: test_certs.h:30
const char * m_ca_crt
Definition: test_certs.h:26
const char * m_ca_key
Definition: test_certs.h:27