blob: 88255dcbbfb123f0abaf3352324230bd2f2887cf [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
8#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
9#include "net/third_party/quiche/src/quic/platform/api/quic_string.h"
10
11namespace quic {
12
13// Contains the crypto-related data provided by ProofSource
14struct QUIC_EXPORT_PRIVATE QuicCryptoProof {
15 QuicCryptoProof();
16
17 // Signature generated by ProofSource
vasilvvc48c8712019-03-11 13:38:16 -070018 std::string signature;
QUICHE teama6ef0a62019-03-07 20:34:33 -050019 // SCTList (RFC6962) to be sent to the client, if it supports receiving it.
vasilvvc48c8712019-03-11 13:38:16 -070020 std::string leaf_cert_scts;
QUICHE teama6ef0a62019-03-07 20:34:33 -050021 // Should the Expect-CT header be sent on the connection where the
22 // certificate is used.
23 bool send_expect_ct_header;
24};
25
26} // namespace quic
27
28#endif // QUICHE_QUIC_CORE_CRYPTO_QUIC_CRYPTO_PROOF_H_