Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: net/data/verify_certificate_chain_unittest/README

Issue 2918913002: Add path validation error expectations for PKITS tests. (Closed)
Patch Set: Address Matt's comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This directory contains test data for verifying certificate chains. 1 This directory contains test data for verifying certificate chains.
2 2
3 Tests are grouped into directories that contain the keys, python to generate 3 Tests are grouped into directories that contain the keys, python to generate
4 chains, and test expectations. "DIR" is used as a generic placeholder below to 4 chains, and test expectations. "DIR" is used as a generic placeholder below to
5 identify such a directory. 5 identify such a directory.
6 6
7 =============================== 7 ===============================
8 DIR/generate-chains.py 8 DIR/generate-chains.py
9 =============================== 9 ===============================
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "CLIENT_AUTH" 64 "CLIENT_AUTH"
65 65
66 "errors" - This has special parsing rules: it is interpreted as the 66 "errors" - This has special parsing rules: it is interpreted as the
67 final key in the file. All lines after "errors:\n" are read as being the 67 final key in the file. All lines after "errors:\n" are read as being the
68 error string (this allows embedding newlines in it). 68 error string (this allows embedding newlines in it).
69 69
70 Additionally, it is possible to add python-style comments by starting a line 70 Additionally, it is possible to add python-style comments by starting a line
71 with "#". 71 with "#".
72 72
73 =============================== 73 ===============================
74 pkits_errors/*.txt
75 ===============================
76
77 These files contain the expected errors for PKITS tests
78 (third_party/nist-pkits). The file name correspond so the PKITS tests number.
79 They are baselined specifically for VerifyCertificateChain().
80
81 ===============================
74 generate-all.sh 82 generate-all.sh
75 =============================== 83 ===============================
76 84
77 Runs all of the generate-chains.py scripts and cleans up the temp files 85 Runs all of the generate-chains.py scripts and cleans up the temp files
78 afterwards. 86 afterwards.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698