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" | 10 #include "net/quic/platform/api/quic_export.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 | 13 |
14 // Contains the crypto-related data provided by ProofSource | 14 // Contains the crypto-related data provided by ProofSource |
15 struct NET_EXPORT_PRIVATE QuicCryptoProof { | 15 struct QUIC_EXPORT_PRIVATE QuicCryptoProof { |
16 QuicCryptoProof(); | 16 QuicCryptoProof(); |
17 | 17 |
18 // Signature generated by ProofSource | 18 // Signature generated by ProofSource |
19 std::string signature; | 19 std::string signature; |
20 // 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. |
21 std::string leaf_cert_scts; | 21 std::string leaf_cert_scts; |
22 // Should the Expect-CT header be sent on the connection where the | 22 // Should the Expect-CT header be sent on the connection where the |
23 // certificate is used. | 23 // certificate is used. |
24 bool send_expect_ct_header; | 24 bool send_expect_ct_header; |
25 }; | 25 }; |
26 | 26 |
27 } // namespace net | 27 } // namespace net |
28 | 28 |
29 #endif // NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ | 29 #endif // NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
OLD | NEW |