michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_psm__SharedCertVerifier_h michael@0: #define mozilla_psm__SharedCertVerifier_h michael@0: michael@0: #include "certt.h" michael@0: #include "CertVerifier.h" michael@0: #include "mozilla/RefPtr.h" michael@0: michael@0: namespace mozilla { namespace psm { michael@0: michael@0: class SharedCertVerifier : public mozilla::psm::CertVerifier michael@0: { michael@0: protected: michael@0: ~SharedCertVerifier(); michael@0: michael@0: public: michael@0: NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SharedCertVerifier) michael@0: michael@0: SharedCertVerifier(implementation_config ic, michael@0: #ifndef NSS_NO_LIBPKIX michael@0: missing_cert_download_config ac, crl_download_config cdc, michael@0: #endif michael@0: ocsp_download_config odc, ocsp_strict_config osc, michael@0: ocsp_get_config ogc, michael@0: pinning_enforcement_config pinningEnforcementLevel) michael@0: : mozilla::psm::CertVerifier(ic, michael@0: #ifndef NSS_NO_LIBPKIX michael@0: ac, cdc, michael@0: #endif michael@0: odc, osc, ogc, michael@0: pinningEnforcementLevel) michael@0: { michael@0: } michael@0: }; michael@0: michael@0: } } // namespace mozilla::psm michael@0: michael@0: #endif // mozilla_psm__SharedCertVerifier_h