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

Unified Diff: net/base/net_error_list.h

Issue 76443006: Certificate Transparency: Threading the CT verifier into the SSL client socket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving logs creation out of io_thread Created 7 years, 1 month 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 | « chrome/common/chrome_switches.cc ('k') | net/cert/cert_status_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 330d57255b1a7f3501f83548ab99112a267c7033..7ca63321853ba6d79b7a947ecfaad67de0e903cf 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -408,6 +408,20 @@ NET_ERROR(CERT_WEAK_KEY, -211)
// The value immediately past the last certificate error code.
NET_ERROR(CERT_END, -212)
+// Certificate Transparency-related errors. Logically these are certificate
+// errors but, for now, are not included in the certificate errors range
+// so IsCertificateError will not be affected by CT-related errors.
+
+// Serialization of the Precertificate LogEntry or X.509 LogEntry failed
+// That means that there were no embedded SCTs *and* the DER encoding of the
+// certificate could not be created, which is surprising - as CT checks are
+// only performed after SCTs have been validated.
+NET_ERROR(CT_LOG_ENTRY_CREATION_FAILED, -298)
+
+// SCT(s) were present but failed to verify - this could indicate an attack
+// or corrupted SCTs.
+NET_ERROR(NO_SCTS_VERIFIED_OK, -299)
wtc 2013/11/27 16:45:57 If we add these two CT errors as certificate error
Eran M. (Google) 2013/11/27 19:05:48 As we discussed offline, completely reverting thes
+
// The URL is invalid.
NET_ERROR(INVALID_URL, -300)
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/cert/cert_status_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698