Bug 1928997: Update tabs icon in Unified Search popup r=desktop-theme-reviewers,daleh...
[gecko.git] / security / manager / ssl / SharedCertVerifier.h
blob61798852ad28a629b6d76ecc21d8ac5d82be9d1e
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef SharedCertVerifier_h
6 #define SharedCertVerifier_h
8 #include "CertVerifier.h"
9 #include "EnterpriseRoots.h"
10 #include "mozilla/RefPtr.h"
11 #include "mozilla/TimeStamp.h"
13 namespace mozilla {
14 namespace psm {
16 class SharedCertVerifier : public mozilla::psm::CertVerifier {
17 protected:
18 ~SharedCertVerifier();
20 public:
21 NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SharedCertVerifier)
23 SharedCertVerifier(OcspDownloadConfig odc, OcspStrictConfig osc,
24 mozilla::TimeDuration ocspSoftTimeout,
25 mozilla::TimeDuration ocspHardTimeout,
26 uint32_t certShortLifetimeInDays,
27 NetscapeStepUpPolicy netscapeStepUpPolicy,
28 CertificateTransparencyConfig&& ctConfig,
29 CRLiteMode crliteMode,
30 const nsTArray<EnterpriseCert>& thirdPartyCerts)
31 : mozilla::psm::CertVerifier(odc, osc, ocspSoftTimeout, ocspHardTimeout,
32 certShortLifetimeInDays,
33 netscapeStepUpPolicy, std::move(ctConfig),
34 crliteMode, thirdPartyCerts) {}
37 } // namespace psm
38 } // namespace mozilla
40 #endif // SharedCertVerifier_h