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

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

Issue 2964283002: Add chrome channel to cert logger reports (Closed)
Patch Set: Clean up test comments Created 3 years, 5 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 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 5
6 syntax = "proto2"; 6 syntax = "proto2";
7 7
8 package certificate_reporting; 8 package certificate_reporting;
9 9
10 // Chrome requires this. 10 // Chrome requires this.
11 option optimize_for = LITE_RUNTIME; 11 option optimize_for = LITE_RUNTIME;
12 12
13 // This protobuffer is intended to store an encrypted report of an 13 // This protobuffer is intended to store an encrypted report of an
14 // invalid certificate chain. 14 // invalid certificate chain.
15 message EncryptedCertLoggerRequest { 15 message EncryptedCertLoggerRequest {
16 // An encrypted, serialized CertLoggerRequest 16 // An encrypted, serialized CertLoggerRequest
17 required bytes encrypted_report = 1; 17 required bytes encrypted_report = 1;
18 // The server public key version that was used to derive the shared secret. 18 // The server public key version that was used to derive the shared secret.
19 required uint32 server_public_key_version = 2; 19 required uint32 server_public_key_version = 2;
20 // The client public key that corresponds to the private key that was used 20 // The client public key that corresponds to the private key that was used
21 // to derive the shared secret. 21 // to derive the shared secret.
22 required bytes client_public_key = 3; 22 required bytes client_public_key = 3;
23 // The encryption algorithm used to encrypt the report. 23 // The encryption algorithm used to encrypt the report.
24 enum Algorithm { 24 enum Algorithm {
25 UNKNOWN_ALGORITHM = 0; 25 UNKNOWN_ALGORITHM = 0;
26 AEAD_ECDH_AES_128_CTR_HMAC_SHA256 = 1; 26 AEAD_ECDH_AES_128_CTR_HMAC_SHA256 = 1;
27 } 27 }
28 optional Algorithm algorithm = 4 28 optional Algorithm algorithm = 4
29 [default = AEAD_ECDH_AES_128_CTR_HMAC_SHA256]; 29 [default = AEAD_ECDH_AES_128_CTR_HMAC_SHA256];
30 }; 30 };
meacer 2017/06/30 22:24:46 nit: This change does not seem to be needed
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698