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

Unified Diff: chrome/browser/net/cert_logger.proto

Issue 1117173005: Include cert status in invalid certificate reports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | chrome/browser/net/certificate_error_reporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/cert_logger.proto
diff --git a/chrome/browser/net/cert_logger.proto b/chrome/browser/net/cert_logger.proto
index 7ef828a5357beefa0f731c7271aead82e05bf62f..3824c9f28e47b93c6c974ce3963f1f20fd44ba4b 100644
--- a/chrome/browser/net/cert_logger.proto
+++ b/chrome/browser/net/cert_logger.proto
@@ -39,6 +39,26 @@ message CertLoggerRequest {
// pin contains the string forms of the pins that were matched against for
// this host.
repeated string pin = 5;
+
+ enum CertError {
+ ERR_CERT_REVOKED = 1;
+ ERR_CERT_INVALID = 2;
+ ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN = 3;
+ ERR_CERT_AUTHORITY_INVALID = 4;
+ ERR_CERT_COMMON_NAME_INVALID = 5;
+ ERR_CERT_NAME_CONSTRAINT_VIOLATION = 6;
+ ERR_CERT_WEAK_SIGNATURE_ALGORITHM = 7;
+ ERR_CERT_WEAK_KEY = 8;
+ ERR_CERT_DATE_INVALID = 9;
+ ERR_CERT_VALIDITY_TOO_LONG = 10;
+ ERR_CERT_UNABLE_TO_CHECK_REVOCATION = 11;
+ ERR_CERT_NO_REVOCATION_MECHANISM = 12;
+ ERR_CERT_NON_UNIQUE_NAME = 13;
+ };
+
+ // Certificate errors encountered (if any) when validating this
+ // certificate chain.
+ repeated CertError cert_error = 6;
};
// A wrapper proto containing an encrypted CertLoggerRequest
« no previous file with comments | « no previous file | chrome/browser/net/certificate_error_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698