| OLD | NEW |
| (Empty) | |
| 1 // 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 #include "components/cronet/ct_ignores.h" |
| 6 |
| 7 #include "net/base/net_errors.h" |
| 8 #include "net/cert/ct_policy_status.h" |
| 9 |
| 10 namespace cronet { |
| 11 |
| 12 int IgnoresCTVerifier::Verify( |
| 13 net::X509Certificate* cert, |
| 14 const std::string& stapled_ocsp_response, |
| 15 const std::string& sct_list_from_tls_extension, |
| 16 net::SignedCertificateTimestampAndStatusList* output_scts, |
| 17 const net::NetLogWithSource& net_log) { |
| 18 return net::OK; |
| 19 } |
| 20 |
| 21 void IgnoresCTVerifier::SetObserver(Observer* observer) {} |
| 22 |
| 23 net::ct::CertPolicyCompliance IgnoresCTPolicyEnforcer::DoesConformToCertPolicy( |
| 24 net::X509Certificate* cert, |
| 25 const net::SCTList& verified_scts, |
| 26 const net::NetLogWithSource& net_log) { |
| 27 return net::ct::CertPolicyCompliance::CERT_POLICY_COMPLIES_VIA_SCTS; |
| 28 } |
| 29 |
| 30 net::ct::EVPolicyCompliance IgnoresCTPolicyEnforcer::DoesConformToCTEVPolicy( |
| 31 net::X509Certificate* cert, |
| 32 const net::ct::EVCertsWhitelist* ev_whitelist, |
| 33 const net::SCTList& verified_scts, |
| 34 const net::NetLogWithSource& net_log) { |
| 35 return net::ct::EVPolicyCompliance::EV_POLICY_DOES_NOT_APPLY; |
| 36 } |
| 37 |
| 38 } // namespace cronet |
| OLD | NEW |