OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
| 6 #define NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "net/base/net_export.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 // Contains the crypto-related data provided by ProofSource |
| 15 struct NET_EXPORT_PRIVATE QuicCryptoProof { |
| 16 QuicCryptoProof(); |
| 17 |
| 18 // Signature generated by ProofSource |
| 19 std::string signature; |
| 20 // SCTList (RFC6962) to be sent to the client, if it supports receiving it. |
| 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; |
| 25 }; |
| 26 |
| 27 } // namespace net |
| 28 |
| 29 #endif // NET_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
OLD | NEW |