OLD | NEW |
1 This directory contains test data for verifying certificate chains. | 1 This directory contains test data for verifying certificate chains. |
2 | 2 |
3 It contains the following types of files: | 3 It contains the following types of files: |
4 | 4 |
5 =============================== | 5 =============================== |
6 generate-*.py | 6 generate-*.py |
7 =============================== | 7 =============================== |
8 | 8 |
9 Generates the file for an individual test case. If the python file was | 9 Generates the file for an individual test case. If the python file was |
10 named generate-XXX.py, then the corresponding output will be named | 10 named generate-XXX.py, then the corresponding output will be named |
11 XXX.pem. | 11 XXX.pem. |
12 | 12 |
13 =============================== | 13 =============================== |
14 generate-all.sh | 14 generate-all.sh |
15 =============================== | 15 =============================== |
16 | 16 |
17 Runs all of the generate-*.py scripts and does some cleanup. | 17 Runs all of the generate-*.py scripts and does some cleanup. |
18 | 18 |
19 =============================== | 19 =============================== |
| 20 keys/*.key |
| 21 =============================== |
| 22 |
| 23 The keys used by various tests (primarily so that when re-generating tests same |
| 24 key can be used). |
| 25 |
| 26 =============================== |
20 *.pem | 27 *.pem |
21 =============================== | 28 =============================== |
22 | 29 |
23 Each .pem file describes the inputs for certificate chain verification, and the | 30 Each .pem file describes the inputs for certificate chain verification, and the |
24 expected result. These are the PEM blocks that each file contains and their | 31 expected result. These are the PEM blocks that each file contains and their |
25 interpretation: | 32 interpretation: |
26 | 33 |
27 CERTIFICATE: | 34 CERTIFICATE: |
28 | 35 |
29 These PEM blocks describe the ordered chain of certificates starting from the | 36 These PEM blocks describe the ordered chain of certificates starting from the |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 68 |
62 This PEM block describes the expected result from verifying the path. | 69 This PEM block describes the expected result from verifying the path. |
63 | 70 |
64 - There must be exactly one such PEM block | 71 - There must be exactly one such PEM block |
65 - Its contents are a string with value of either "SUCCESS" or "FAIL" | 72 - Its contents are a string with value of either "SUCCESS" or "FAIL" |
66 | 73 |
67 ERRORS: | 74 ERRORS: |
68 | 75 |
69 This PEM block is a pretty-printed textual dump of all the errors, as given by | 76 This PEM block is a pretty-printed textual dump of all the errors, as given by |
70 CertErrors::ToDebugString(). | 77 CertErrors::ToDebugString(). |
OLD | NEW |