Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #ifndef mozilla_psm__SharedCertVerifier_h |
michael@0 | 6 | #define mozilla_psm__SharedCertVerifier_h |
michael@0 | 7 | |
michael@0 | 8 | #include "certt.h" |
michael@0 | 9 | #include "CertVerifier.h" |
michael@0 | 10 | #include "mozilla/RefPtr.h" |
michael@0 | 11 | |
michael@0 | 12 | namespace mozilla { namespace psm { |
michael@0 | 13 | |
michael@0 | 14 | class SharedCertVerifier : public mozilla::psm::CertVerifier |
michael@0 | 15 | { |
michael@0 | 16 | protected: |
michael@0 | 17 | ~SharedCertVerifier(); |
michael@0 | 18 | |
michael@0 | 19 | public: |
michael@0 | 20 | NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SharedCertVerifier) |
michael@0 | 21 | |
michael@0 | 22 | SharedCertVerifier(implementation_config ic, |
michael@0 | 23 | #ifndef NSS_NO_LIBPKIX |
michael@0 | 24 | missing_cert_download_config ac, crl_download_config cdc, |
michael@0 | 25 | #endif |
michael@0 | 26 | ocsp_download_config odc, ocsp_strict_config osc, |
michael@0 | 27 | ocsp_get_config ogc, |
michael@0 | 28 | pinning_enforcement_config pinningEnforcementLevel) |
michael@0 | 29 | : mozilla::psm::CertVerifier(ic, |
michael@0 | 30 | #ifndef NSS_NO_LIBPKIX |
michael@0 | 31 | ac, cdc, |
michael@0 | 32 | #endif |
michael@0 | 33 | odc, osc, ogc, |
michael@0 | 34 | pinningEnforcementLevel) |
michael@0 | 35 | { |
michael@0 | 36 | } |
michael@0 | 37 | }; |
michael@0 | 38 | |
michael@0 | 39 | } } // namespace mozilla::psm |
michael@0 | 40 | |
michael@0 | 41 | #endif // mozilla_psm__SharedCertVerifier_h |