#include "net/cert/multi_log_ct_verifier.h"
#include <memory>
#include <string>
#include <string_view>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/metrics/histogram.h"
#include "base/metrics/histogram_samples.h"
#include "base/metrics/statistics_recorder.h"
#include "base/values.h"
#include "net/base/net_errors.h"
#include "net/cert/ct_log_verifier.h"
#include "net/cert/ct_serialization.h"
#include "net/cert/sct_status_flags.h"
#include "net/cert/signed_certificate_timestamp.h"
#include "net/cert/signed_certificate_timestamp_and_status.h"
#include "net/cert/x509_certificate.h"
#include "net/log/net_log_source_type.h"
#include "net/log/net_log_with_source.h"
#include "net/log/test_net_log.h"
#include "net/log/test_net_log_util.h"
#include "net/test/cert_test_util.h"
#include "net/test/ct_test_util.h"
#include "net/test/test_data_directory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
Mock;
namespace net {
namespace {
const char kLogDescription[] = …;
class MultiLogCTVerifierTest : public ::testing::Test { … };
TEST_F(MultiLogCTVerifierTest, VerifiesEmbeddedSCT) { … }
TEST_F(MultiLogCTVerifierTest, VerifiesEmbeddedSCTWithPreCA) { … }
TEST_F(MultiLogCTVerifierTest, VerifiesEmbeddedSCTWithIntermediate) { … }
TEST_F(MultiLogCTVerifierTest,
VerifiesEmbeddedSCTWithIntermediateAndPreCA) { … }
TEST_F(MultiLogCTVerifierTest, VerifiesSCTOverX509Cert) { … }
TEST_F(MultiLogCTVerifierTest, IdentifiesSCTFromUnknownLog) { … }
TEST_F(MultiLogCTVerifierTest, CountsValidSCTsInStatusHistogram) { … }
TEST_F(MultiLogCTVerifierTest, CountsInvalidSCTsInStatusHistogram) { … }
TEST_F(MultiLogCTVerifierTest, CountsSingleEmbeddedSCTInOriginsHistogram) { … }
}
}