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..a14b049c55856a1fad4b8ead6eb2420abaa89c6e 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,10 +14,9 @@ |
// generated by the frontend and logged, including validation and error checking |
// done on the client's input data. |
- |
syntax = "proto2"; |
-package chrome_browser_net; |
+package chrome_browser_ssl; |
// Chrome requires this. |
option optimize_for = LITE_RUNTIME; |
@@ -59,35 +58,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; |
-}; |
+}; |