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

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

Issue 1117173004: Split cert reporter class into report building/serializing and sending (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move //c/b/ssl classes into global namespace 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
Index: chrome/browser/ssl/cert_logger.proto
diff --git a/chrome/browser/net/cert_logger.proto b/chrome/browser/ssl/cert_logger.proto
similarity index 68%
rename from chrome/browser/net/cert_logger.proto
rename to chrome/browser/ssl/cert_logger.proto
index 3824c9f28e47b93c6c974ce3963f1f20fd44ba4b..72549fd663625e4326c4cbf2f9eea04d8cc22070 100644
--- a/chrome/browser/net/cert_logger.proto
+++ b/chrome/browser/ssl/cert_logger.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -14,11 +14,8 @@
// generated by the frontend and logged, including validation and error checking
// done on the client's input data.
-
syntax = "proto2";
-package chrome_browser_net;
-
// Chrome requires this.
option optimize_for = LITE_RUNTIME;
@@ -59,35 +56,4 @@ message CertLoggerRequest {
// Certificate errors encountered (if any) when validating this
// certificate chain.
repeated CertError cert_error = 6;
-};
-
-// A wrapper proto containing an encrypted CertLoggerRequest
-message EncryptedCertLoggerRequest {
- // An encrypted, serialized CertLoggerRequest
- required bytes encrypted_report = 1;
- // The server public key version that was used to derive the shared secret.
- required uint32 server_public_key_version = 2;
- // The client public key that corresponds to the private key that was used
- // to derive the shared secret.
- required bytes client_public_key = 3;
- // The encryption algorithm used to encrypt the report.
- enum Algorithm {
- UNKNOWN_ALGORITHM = 0;
- AEAD_ECDH_AES_128_CTR_HMAC_SHA256 = 1;
- }
- optional Algorithm algorithm = 4
- [default = AEAD_ECDH_AES_128_CTR_HMAC_SHA256];
-};
-
-// The response sent back to the user.
-message CertLoggerResponse {
- enum ResponseCode {
- OK = 1;
- MALFORMED_CERT_DATA = 2;
- HOST_CERT_DONT_MATCH = 3;
- ROOT_NOT_RECOGNIZED = 4;
- ROOT_NOT_UNEXPECTED = 5;
- OTHER_ERROR = 6;
- };
- required ResponseCode response = 1;
-};
+};

Powered by Google App Engine
This is Rietveld 408576698