| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef NET_THIRD_PARTY_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
| #define NET_THIRD_PARTY_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |
| |
| #include "net/third_party/quic/platform/api/quic_export.h" |
| #include "net/third_party/quic/platform/api/quic_string.h" |
| |
| namespace quic { |
| |
| // Contains the crypto-related data provided by ProofSource |
| struct QUIC_EXPORT_PRIVATE QuicCryptoProof { |
| QuicCryptoProof(); |
| |
| // Signature generated by ProofSource |
| QuicString signature; |
| // SCTList (RFC6962) to be sent to the client, if it supports receiving it. |
| QuicString leaf_cert_scts; |
| // Should the Expect-CT header be sent on the connection where the |
| // certificate is used. |
| bool send_expect_ct_header; |
| }; |
| |
| } // namespace quic |
| |
| #endif // NET_THIRD_PARTY_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_ |