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

Unified Diff: components/cast_certificate/cast_cert_validator.h

Issue 1923433002: Certificate path builder for new certificate verification library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes for review comment #20 Created 4 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
« no previous file with comments | « no previous file | components/cast_certificate/cast_cert_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_certificate/cast_cert_validator.h
diff --git a/components/cast_certificate/cast_cert_validator.h b/components/cast_certificate/cast_cert_validator.h
index 1c335ae6530b446a86bf234d00ac39f5774a0c7f..23378cb684c65bd84371f04bfb2b26e7419796db 100644
--- a/components/cast_certificate/cast_cert_validator.h
+++ b/components/cast_certificate/cast_cert_validator.h
@@ -54,9 +54,9 @@ class CertVerificationContext {
// Inputs:
//
// * |certs| is a chain of DER-encoded certificates:
-// * |certs[0]| is the target certificate (i.e. the device certificate)
-// * |certs[i]| is the certificate that issued certs[i-1]
-// * |certs.back()| must be signed by a trust anchor
+// * |certs[0]| is the target certificate (i.e. the device certificate).
+// * |certs[1..n-1]| are intermediates certificates to use in path building.
+// Their ordering does not matter.
//
// * |time| is the UTC time to use for determining if the certificate
// is expired.
« no previous file with comments | « no previous file | components/cast_certificate/cast_cert_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698