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

Side by Side Diff: net/quic/core/crypto/quic_crypto_proof.h

Issue 2516433002: Minor refactors to enable sending an Expect-CT header more easily. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « net/quic/core/crypto/proof_source.h ('k') | net/quic/core/crypto/quic_crypto_proof.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ 5 #ifndef NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_
6 #define NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ 6 #define NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/net_export.h"
11
10 namespace net { 12 namespace net {
11 13
12 // Contains the crypto-related data provided by ProofSource 14 // Contains the crypto-related data provided by ProofSource
13 struct QuicCryptoProof { 15 struct NET_EXPORT_PRIVATE QuicCryptoProof {
16 QuicCryptoProof();
17
14 // Signature generated by ProofSource 18 // Signature generated by ProofSource
15 std::string signature; 19 std::string signature;
16 // SCTList (RFC6962) to be sent to the client, if it supports receiving it. 20 // SCTList (RFC6962) to be sent to the client, if it supports receiving it.
17 std::string leaf_cert_scts; 21 std::string leaf_cert_scts;
22 // Should the Expect-CT header be sent on the connection where the
23 // certificate is used.
24 bool send_expect_ct_header;
18 }; 25 };
19 26
20 } // namespace net 27 } // namespace net
21 28
22 #endif // NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ 29 #endif // NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_
OLDNEW
« no previous file with comments | « net/quic/core/crypto/proof_source.h ('k') | net/quic/core/crypto/quic_crypto_proof.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698