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

Unified Diff: net/data/verify_certificate_chain_unittest/README

Issue 1414393008: Add scripts to generate simple test data for certificate verification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@key_usages
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: net/data/verify_certificate_chain_unittest/README
diff --git a/net/data/verify_certificate_chain_unittest/README b/net/data/verify_certificate_chain_unittest/README
new file mode 100644
index 0000000000000000000000000000000000000000..11cc4cbef53d3af42b42ca25d3ca49ed496f4650
--- /dev/null
+++ b/net/data/verify_certificate_chain_unittest/README
@@ -0,0 +1,29 @@
+This directory contains test data for verifying certificate chains.
+
+It contains the following types of files:
+
+===============================
+generate-*.py
+===============================
+
+Generates the file for an individual test case. If the python file was
+named generate-XXX.py, then the corresponding output will be named
+XXX.pem.
+
+===============================
+generate-all.sh
+===============================
+
+Runs all of the generate-*.py scripts and does some cleanup.
+
+===============================
+*.pem
+===============================
+
+These files descibe a test case for certificate chain verification.
+
+The input file is a PEM file with blocks for:
+ * The trust store
+ * The certificate chain (target certificate and all intermediaries)
+ * The timestamp to use when verifying
+ * The expected result of verification (success or fail)

Powered by Google App Engine
This is Rietveld 408576698