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

Unified Diff: chrome/common/safe_browsing/csd.proto

Issue 8459001: Extract the certificate to use in the download protection pingback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Merge and fix test Created 9 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
Index: chrome/common/safe_browsing/csd.proto
===================================================================
--- chrome/common/safe_browsing/csd.proto (revision 108613)
+++ chrome/common/safe_browsing/csd.proto (working copy)
@@ -125,19 +125,12 @@
repeated Resource resources = 4;
message SignatureInfo {
- // If the binary is signed this will contain the name of the certificate
- // authority that signed the binary. The format of that field is TBD.
- optional bytes certificate_issuer = 1;
-
- // Serial number of the certificate autority. This value uniquely
- // identifies the certificate authority.
- optional bytes certificate_serial_number = 2;
-
- // Name of the company / organization the ceritificate was issued to.
- optional bytes certificate_subject = 3;
-
// The full DER-encoded X.509 certificate extracted from the binary.
- optional bytes certificate_contents = 4;
+ // If this field is not present, it means the binary was unsigned.
+ optional bytes certificate_contents = 1;
+
+ // True if the signature was trusted on the client.
+ optional bool trusted = 2;
}
// This field will only be set if the binary is signed.

Powered by Google App Engine
This is Rietveld 408576698