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

Side by Side Diff: components/certificate_reporting/cert_logger.proto

Issue 2575233003: Record the time when the interstitial is constructed (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This protobuffer is intended to store reports from Chrome users of 5 // This protobuffer is intended to store reports from Chrome users of
6 // certificate errors. A report will be sent from Chrome when it gets 6 // certificate errors. A report will be sent from Chrome when it gets
7 // e.g. a certificate for google.com that chains up to a root CA not expected by 7 // e.g. a certificate for google.com that chains up to a root CA not expected by
8 // Chrome for that origin, such as DigiNotar (compromised in July 2011), or 8 // Chrome for that origin, such as DigiNotar (compromised in July 2011), or
9 // other pinning errors such as a blacklisted cert in the chain, or 9 // other pinning errors such as a blacklisted cert in the chain, or
10 // (when opted in) other certificate validation errors like an expired 10 // (when opted in) other certificate validation errors like an expired
(...skipping 24 matching lines...) Expand all
35 // An interstitial telling the user to update their system clock 35 // An interstitial telling the user to update their system clock
36 INTERSTITIAL_CLOCK = 3; 36 INTERSTITIAL_CLOCK = 3;
37 } 37 }
38 38
39 // The type of interstitial that was shown 39 // The type of interstitial that was shown
40 optional InterstitialReason interstitial_reason = 1; 40 optional InterstitialReason interstitial_reason = 1;
41 // True if the user clicked through to the offending website 41 // True if the user clicked through to the offending website
42 optional bool user_proceeded = 2; 42 optional bool user_proceeded = 2;
43 // True if the user was shown an option to click through 43 // True if the user was shown an option to click through
44 optional bool overridable = 3; 44 optional bool overridable = 3;
45 // The time (in usec since the Windows epoch) when the client created the
46 // interstitial.
47 optional int64 interstitial_created_time_usec = 4;
45 } 48 }
46 49
47 // Contains information about features that are enabled/disabled that 50 // Contains information about features that are enabled/disabled that
48 // might affect certificate validation. 51 // might affect certificate validation.
49 message CertLoggerFeaturesInfo { 52 message CertLoggerFeaturesInfo {
50 message NetworkTimeQueryingInfo { 53 message NetworkTimeQueryingInfo {
51 // True if the network time querying feature is enabled. 54 // True if the network time querying feature is enabled.
52 optional bool network_time_queries_enabled = 1; 55 optional bool network_time_queries_enabled = 1;
53 56
54 // The experimental parameter controlling the behavior of network time 57 // The experimental parameter controlling the behavior of network time
(...skipping 11 matching lines...) Expand all
66 optional NetworkTimeQueryingInfo network_time_querying_info = 1; 69 optional NetworkTimeQueryingInfo network_time_querying_info = 1;
67 } 70 }
68 71
69 message CertLoggerRequest { 72 message CertLoggerRequest {
70 // The hostname being accessed (required as the cert could be valid for 73 // The hostname being accessed (required as the cert could be valid for
71 // multiple hosts, e.g. a wildcard or a SubjectAltName. 74 // multiple hosts, e.g. a wildcard or a SubjectAltName.
72 required string hostname = 1; 75 required string hostname = 1;
73 // The certificate chain as a series of PEM-encoded certificates, including 76 // The certificate chain as a series of PEM-encoded certificates, including
74 // intermediates but not necessarily the root. 77 // intermediates but not necessarily the root.
75 required string cert_chain = 2; 78 required string cert_chain = 2;
76 // The time (in usec since the epoch) when the client attempted to access the 79 // The time (in usec since the epoch) when the client generated the report.
77 // site generating the pinning error.
78 required int64 time_usec = 3; 80 required int64 time_usec = 3;
79 // public_key_hash contains the string forms of the hashes calculated for 81 // public_key_hash contains the string forms of the hashes calculated for
80 // the chain. (I.e. "sha1/<base64 data>".) 82 // the chain. (I.e. "sha1/<base64 data>".)
81 repeated string public_key_hash = 4; 83 repeated string public_key_hash = 4;
82 // pin contains the string forms of the pins that were matched against for 84 // pin contains the string forms of the pins that were matched against for
83 // this host. 85 // this host.
84 repeated string pin = 5; 86 repeated string pin = 5;
85 87
86 enum CertError { 88 enum CertError {
87 UNKNOWN_CERT_ERROR = 0; 89 UNKNOWN_CERT_ERROR = 0;
(...skipping 30 matching lines...) Expand all
118 // True if the certificate was rooted at a standard CA root ,as opposed to a 120 // True if the certificate was rooted at a standard CA root ,as opposed to a
119 // user-installed root, but is only meaningful if the underlying certificate 121 // user-installed root, but is only meaningful if the underlying certificate
120 // validation library built a trusted chain (i.e. the Chrome net stack set the 122 // validation library built a trusted chain (i.e. the Chrome net stack set the
121 // error, not the library). 123 // error, not the library).
122 optional bool is_issued_by_known_root = 9; 124 optional bool is_issued_by_known_root = 9;
123 125
124 // Information about features that were enabled or disabled for the 126 // Information about features that were enabled or disabled for the
125 // user that might affect certificate validation. 127 // user that might affect certificate validation.
126 optional CertLoggerFeaturesInfo features_info = 10; 128 optional CertLoggerFeaturesInfo features_info = 10;
127 }; 129 };
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_blocking_page.cc ('k') | components/certificate_reporting/error_report.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698