nsCrypto.h 758 B

123456789101112131415161718192021222324252627282930313233
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2. *
  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. #ifndef _nsCrypto_h_
  7. #define _nsCrypto_h_
  8. #include "nsIPKCS11.h"
  9. #include "nsNSSShutDown.h"
  10. #define NS_PKCS11_CID \
  11. {0x74b7a390, 0x3b41, 0x11d4, { 0x8a, 0x80, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3} }
  12. class nsPkcs11 : public nsIPKCS11
  13. , public nsNSSShutDownObject
  14. {
  15. public:
  16. nsPkcs11();
  17. NS_DECL_ISUPPORTS
  18. NS_DECL_NSIPKCS11
  19. protected:
  20. virtual ~nsPkcs11();
  21. private:
  22. virtual void virtualDestroyNSSReference() override {}
  23. };
  24. #endif //_nsCrypto_h_