1 // Copyright 2014 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/cert/ct_policy_enforcer.h" 6 7 #include "net/cert/ct_policy_status.h" 8 9 namespace net { 10 CheckCompliance(X509Certificate * cert,const ct::SCTList & verified_scts,const NetLogWithSource & net_log) const11ct::CTPolicyCompliance DefaultCTPolicyEnforcer::CheckCompliance( 12 X509Certificate* cert, 13 const ct::SCTList& verified_scts, 14 const NetLogWithSource& net_log) const { 15 return ct::CTPolicyCompliance::CT_POLICY_BUILD_NOT_TIMELY; 16 } 17 GetLogDisqualificationTime(std::string_view log_id) const18std::optional<base::Time> DefaultCTPolicyEnforcer::GetLogDisqualificationTime( 19 std::string_view log_id) const { 20 return std::nullopt; 21 } 22 IsCtEnabled() const23bool DefaultCTPolicyEnforcer::IsCtEnabled() const { 24 return false; 25 } 26 27 } // namespace net 28