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

Unified Diff: net/base/net_error_list.h

Issue 67513008: Certificate Transparency: Add the high-level interface for verifying SCTs over multiple logs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing review comments. 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 | « no previous file | net/cert/ct_serialization.h » ('j') | net/cert/ct_verify_result.cc » ('J')
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 559c5a317cf2dfda7029c6f3f8397aff58f04beb..76fa7ae88e31754473bfc85d8e0b4aac16acb299 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -708,3 +708,23 @@ NET_ERROR(DNS_SEARCH_EMPTY, -805)
// Failed to sort addresses according to RFC3484.
NET_ERROR(DNS_SORT_ERROR, -806)
+
+// Certificate Transparency-related errors
+
+// No Signed Certificate Timestamps present for
+// a certificate.
+NET_ERROR(NO_SCTS_PRESENT, -900)
+
+// 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.
+// not be created.
+NET_ERROR(CT_LOG_ENTRY_CREATION_FAILED, -901)
+
+// All SCTs are from unknown logs
+NET_ERROR(NO_SCTS_FROM_KNOWN_LOGS, -902)
+
+// SCT(s) were present but failed to verify - this could indicate an attack
+// or corrupted SCTs.
+NET_ERROR(NO_SCTS_VERIFIED_OK, -903)
wtc 2013/11/21 23:26:34 I think CT-related errors seem to belong in the "2
Eran M. (Google) 2013/11/23 21:02:07 Done - reverted changes to this file. As for inclu
« no previous file with comments | « no previous file | net/cert/ct_serialization.h » ('j') | net/cert/ct_verify_result.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698