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

Side by Side Diff: chrome/browser/net/encrypted_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: BUILD.gn fix 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 //
5
6 syntax = "proto2";
7
8 package chrome_browser_net;
9
10 // Chrome requires this.
11 option optimize_for = LITE_RUNTIME;
12
13 // This protobuffer is intended to store an encrypted report of an
14 // invalid certificate chain.
15 message EncryptedCertLoggerRequest {
16 // An encrypted, serialized CertLoggerRequest
17 required bytes encrypted_report = 1;
18 // The server public key version that was used to derive the shared secret.
19 required uint32 server_public_key_version = 2;
20 // The client public key that corresponds to the private key that was used
21 // to derive the shared secret.
22 required bytes client_public_key = 3;
23 // The encryption algorithm used to encrypt the report.
24 enum Algorithm {
25 UNKNOWN_ALGORITHM = 0;
eroman 2015/05/12 00:27:51 when is 0 intended to be used?
estark 2015/05/12 20:42:16 Good question... I sort of copied this from the co
26 AEAD_ECDH_AES_128_CTR_HMAC_SHA256 = 1;
27 }
28 optional Algorithm algorithm = 4
29 [default = AEAD_ECDH_AES_128_CTR_HMAC_SHA256];
30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698