1 // Copyright 2016 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/do_nothing_ct_verifier.h"
6
7 #include <string_view>
8
9 #include "net/base/net_errors.h"
10
11 namespace net {
12
13 DoNothingCTVerifier::DoNothingCTVerifier() = default;
14 DoNothingCTVerifier::~DoNothingCTVerifier() = default;
15
Verify(X509Certificate * cert,std::string_view stapled_ocsp_response,std::string_view sct_list_from_tls_extension,base::Time current_time,SignedCertificateTimestampAndStatusList * output_scts,const NetLogWithSource & net_log) const16 void DoNothingCTVerifier::Verify(
17 X509Certificate* cert,
18 std::string_view stapled_ocsp_response,
19 std::string_view sct_list_from_tls_extension,
20 base::Time current_time,
21 SignedCertificateTimestampAndStatusList* output_scts,
22 const NetLogWithSource& net_log) const {
23 output_scts->clear();
24 }
25
26 } // namespace net
27