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 _NS_DATASIGNATUREVERIFIER_H_ michael@0: #define _NS_DATASIGNATUREVERIFIER_H_ michael@0: michael@0: #include "nsIDataSignatureVerifier.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: #include "keythi.h" michael@0: michael@0: // 296d76aa-275b-4f3c-af8a-30a4026c18fc michael@0: #define NS_DATASIGNATUREVERIFIER_CID \ michael@0: { 0x296d76aa, 0x275b, 0x4f3c, \ michael@0: { 0xaf, 0x8a, 0x30, 0xa4, 0x02, 0x6c, 0x18, 0xfc } } michael@0: #define NS_DATASIGNATUREVERIFIER_CONTRACTID \ michael@0: "@mozilla.org/security/datasignatureverifier;1" michael@0: michael@0: class nsDataSignatureVerifier MOZ_FINAL : public nsIDataSignatureVerifier michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIDATASIGNATUREVERIFIER michael@0: michael@0: nsDataSignatureVerifier() michael@0: { michael@0: } michael@0: michael@0: private: michael@0: ~nsDataSignatureVerifier() michael@0: { michael@0: } michael@0: }; michael@0: michael@0: #endif // _NS_DATASIGNATUREVERIFIER_H_