// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_CERT_CERT_VERIFY_PROC_BUILTIN_H_ #define NET_CERT_CERT_VERIFY_PROC_BUILTIN_H_ #include #include "base/memory/scoped_refptr.h" #include "base/time/time.h" #include "net/base/net_export.h" #include "net/cert/cert_verify_proc.h" namespace net { class CertNetFetcher; class CRLSet; class CTPolicyEnforcer; class CTVerifier; class SystemTrustStore; // TODO(crbug.com/649017): This is not how other cert_verify_proc_*.h are // implemented -- they expose the type in the header. Use a consistent style // here too. NET_EXPORT scoped_refptr CreateCertVerifyProcBuiltin( scoped_refptr net_fetcher, scoped_refptr crl_set, std::unique_ptr ct_verifier, scoped_refptr ct_policy_enforcer, std::unique_ptr system_trust_store, const CertVerifyProc::InstanceParams& instance_params); // Returns the time limit used by CertVerifyProcBuiltin. Intended for test use. NET_EXPORT_PRIVATE base::TimeDelta GetCertVerifyProcBuiltinTimeLimitForTesting(); } // namespace net #endif // NET_CERT_CERT_VERIFY_PROC_BUILTIN_H_