blob: 54301d96e3953fbfa628dd2668f36d38a7353b43 [file] [log] [blame]
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/cert/ct_policy_enforcer.h"
#include "net/cert/ct_policy_status.h"
namespace net {
ct::CTPolicyCompliance DefaultCTPolicyEnforcer::CheckCompliance(
X509Certificate* cert,
const ct::SCTList& verified_scts,
base::Time current_time,
const NetLogWithSource& net_log) const {
return ct::CTPolicyCompliance::CT_POLICY_BUILD_NOT_TIMELY;
}
std::optional<base::Time> DefaultCTPolicyEnforcer::GetLogDisqualificationTime(
std::string_view log_id) const {
return std::nullopt;
}
bool DefaultCTPolicyEnforcer::IsCtEnabled() const {
return false;
}
} // namespace net