security/manager/ssl/src/SharedCertVerifier.h

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:606fcb7fcf76
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/. */
4
5 #ifndef mozilla_psm__SharedCertVerifier_h
6 #define mozilla_psm__SharedCertVerifier_h
7
8 #include "certt.h"
9 #include "CertVerifier.h"
10 #include "mozilla/RefPtr.h"
11
12 namespace mozilla { namespace psm {
13
14 class SharedCertVerifier : public mozilla::psm::CertVerifier
15 {
16 protected:
17 ~SharedCertVerifier();
18
19 public:
20 NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SharedCertVerifier)
21
22 SharedCertVerifier(implementation_config ic,
23 #ifndef NSS_NO_LIBPKIX
24 missing_cert_download_config ac, crl_download_config cdc,
25 #endif
26 ocsp_download_config odc, ocsp_strict_config osc,
27 ocsp_get_config ogc,
28 pinning_enforcement_config pinningEnforcementLevel)
29 : mozilla::psm::CertVerifier(ic,
30 #ifndef NSS_NO_LIBPKIX
31 ac, cdc,
32 #endif
33 odc, osc, ogc,
34 pinningEnforcementLevel)
35 {
36 }
37 };
38
39 } } // namespace mozilla::psm
40
41 #endif // mozilla_psm__SharedCertVerifier_h

mercurial