OLD | NEW |
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_ |
OLD | NEW |