#include "quiche/quic/core/crypto/proof_source_x509.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/strings/string_view.h"
#include "openssl/ssl.h"
#include "quiche/quic/core/crypto/certificate_view.h"
#include "quiche/quic/core/crypto/proof_source.h"
#include "quiche/quic/platform/api/quic_expect_bug.h"
#include "quiche/quic/platform/api/quic_ip_address.h"
#include "quiche/quic/platform/api/quic_socket_address.h"
#include "quiche/quic/platform/api/quic_test.h"
#include "quiche/quic/test_tools/test_certificates.h"
#include "quiche/common/platform/api/quiche_reference_counted.h"
namespace quic {
namespace test {
namespace {
quiche::QuicheReferenceCountedPointer<ProofSource::Chain> MakeChain(
absl::string_view cert) { … }
class ProofSourceX509Test : public QuicTest { … };
TEST_F(ProofSourceX509Test, AddCertificates) { … }
TEST_F(ProofSourceX509Test, AddCertificateKeyMismatch) { … }
TEST_F(ProofSourceX509Test, CertificateSelection) { … }
TEST_F(ProofSourceX509Test, TlsSignature) { … }
}
}
}