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.
8 package certificate_reporting;
10 // Chrome requires this.
11 option optimize_for = LITE_RUNTIME;
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.
25 UNKNOWN_ALGORITHM = 0;
26 AEAD_ECDH_AES_128_CTR_HMAC_SHA256 = 1;
28 optional Algorithm algorithm = 4
29 [default = AEAD_ECDH_AES_128_CTR_HMAC_SHA256];