QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 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 QUICHE_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
| 6 | #define QUICHE_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
| 7 | |
vasilvv | 872e7a3 | 2019-03-12 16:42:44 -0700 | [diff] [blame] | 8 | #include <string> |
| 9 | |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 10 | #include "net/third_party/quiche/src/quic/platform/api/quic_export.h" |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 11 | |
| 12 | namespace quic { |
| 13 | |
| 14 | // Contains the crypto-related data provided by ProofSource |
| 15 | struct QUIC_EXPORT_PRIVATE QuicCryptoProof { |
| 16 | QuicCryptoProof(); |
| 17 | |
| 18 | // Signature generated by ProofSource |
vasilvv | c48c871 | 2019-03-11 13:38:16 -0700 | [diff] [blame] | 19 | std::string signature; |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 20 | // SCTList (RFC6962) to be sent to the client, if it supports receiving it. |
vasilvv | c48c871 | 2019-03-11 13:38:16 -0700 | [diff] [blame] | 21 | std::string leaf_cert_scts; |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 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 quic |
| 28 | |
| 29 | #endif // QUICHE_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |