blob: c3350680133e1631b0268fc244f7c1eafe6a7f54 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// 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
vasilvv872e7a32019-03-12 16:42:44 -07008#include <string>
9
QUICHE teama6ef0a62019-03-07 20:34:33 -050010#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
QUICHE teama6ef0a62019-03-07 20:34:33 -050011
12namespace quic {
13
14// Contains the crypto-related data provided by ProofSource
15struct QUIC_EXPORT_PRIVATE QuicCryptoProof {
16 QuicCryptoProof();
17
18 // Signature generated by ProofSource
vasilvvc48c8712019-03-11 13:38:16 -070019 std::string signature;
QUICHE teama6ef0a62019-03-07 20:34:33 -050020 // SCTList (RFC6962) to be sent to the client, if it supports receiving it.
vasilvvc48c8712019-03-11 13:38:16 -070021 std::string leaf_cert_scts;
QUICHE teama6ef0a62019-03-07 20:34:33 -050022 // 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_