tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ContentSignatureVerifier.h (959B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=2 et sw=2 tw=80: */
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef ContentSignatureVerifier_h
      8 #define ContentSignatureVerifier_h
      9 
     10 #include "nsIContentSignatureVerifier.h"
     11 #include "nsString.h"
     12 
     13 // 45a5fe2f-c350-4b86-962d-02d5aaaa955a
     14 #define NS_CONTENTSIGNATUREVERIFIER_CID \
     15  {0x45a5fe2f, 0xc350, 0x4b86, {0x96, 0x2d, 0x02, 0xd5, 0xaa, 0xaa, 0x95, 0x5a}}
     16 #define NS_CONTENTSIGNATUREVERIFIER_CONTRACTID \
     17  "@mozilla.org/security/contentsignatureverifier;1"
     18 
     19 class ContentSignatureVerifier final : public nsIContentSignatureVerifier {
     20 public:
     21  NS_DECL_ISUPPORTS
     22  NS_DECL_NSICONTENTSIGNATUREVERIFIER
     23 
     24 private:
     25  ~ContentSignatureVerifier() = default;
     26 };
     27 
     28 #endif  // ContentSignatureVerifier_h