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

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: rebase Created 5 years 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
« no previous file with comments | « no previous file | net/data/verify_certificate_chain_unittest/basic-constraints-pathlen-0-self-issued.pem » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « no previous file | net/data/verify_certificate_chain_unittest/basic-constraints-pathlen-0-self-issued.pem » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698