security/manager/ssl/src/nsDataSignatureVerifier.h

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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 _NS_DATASIGNATUREVERIFIER_H_
michael@0 6 #define _NS_DATASIGNATUREVERIFIER_H_
michael@0 7
michael@0 8 #include "nsIDataSignatureVerifier.h"
michael@0 9 #include "mozilla/Attributes.h"
michael@0 10
michael@0 11 #include "keythi.h"
michael@0 12
michael@0 13 // 296d76aa-275b-4f3c-af8a-30a4026c18fc
michael@0 14 #define NS_DATASIGNATUREVERIFIER_CID \
michael@0 15 { 0x296d76aa, 0x275b, 0x4f3c, \
michael@0 16 { 0xaf, 0x8a, 0x30, 0xa4, 0x02, 0x6c, 0x18, 0xfc } }
michael@0 17 #define NS_DATASIGNATUREVERIFIER_CONTRACTID \
michael@0 18 "@mozilla.org/security/datasignatureverifier;1"
michael@0 19
michael@0 20 class nsDataSignatureVerifier MOZ_FINAL : public nsIDataSignatureVerifier
michael@0 21 {
michael@0 22 public:
michael@0 23 NS_DECL_ISUPPORTS
michael@0 24 NS_DECL_NSIDATASIGNATUREVERIFIER
michael@0 25
michael@0 26 nsDataSignatureVerifier()
michael@0 27 {
michael@0 28 }
michael@0 29
michael@0 30 private:
michael@0 31 ~nsDataSignatureVerifier()
michael@0 32 {
michael@0 33 }
michael@0 34 };
michael@0 35
michael@0 36 #endif // _NS_DATASIGNATUREVERIFIER_H_

mercurial