OLD | NEW |
---|---|
(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 }; | |
OLD | NEW |