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

Unified Diff: net/data/verify_certificate_chain_unittest/target-signed-using-ecdsa/generate-chains.py

Issue 2951403002: Update comments for net/data/verify_certificate_chain_unittest/ (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: net/data/verify_certificate_chain_unittest/target-signed-using-ecdsa/generate-chains.py
diff --git a/net/data/verify_certificate_chain_unittest/target-signed-using-ecdsa/generate-chains.py b/net/data/verify_certificate_chain_unittest/target-signed-using-ecdsa/generate-chains.py
index b852f3f70f562892a9eaa8cff9b358f2ccfd3355..ed8fd7ad89f7068b725b811073cea7e2503fabe5 100755
--- a/net/data/verify_certificate_chain_unittest/target-signed-using-ecdsa/generate-chains.py
+++ b/net/data/verify_certificate_chain_unittest/target-signed-using-ecdsa/generate-chains.py
@@ -3,15 +3,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""Certificate chain with a trusted root using RSA, and intermediate using EC,
-and a target certificate using RSA. Verification is expected to succeed."""
+"""Certificate chain where the root certificate holds an RSA key, intermediate
+certificate holds an EC key, and target certificate holds an RSA key. The
+target certificate has a valid signature using ECDSA."""
import sys
sys.path += ['..']
import common
-# Self-signed root certificate (used as trust anchor). using RSA.
+# Self-signed root certificate using an RSA key.
root = common.create_self_signed_root_certificate('Root')
# Intermediate using an EC key for the P-384 curve.

Powered by Google App Engine
This is Rietveld 408576698