PageRenderTime 32ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/gecko_api/include/nssckbi.h

http://firefox-mac-pdf.googlecode.com/
C Header | 90 lines | 12 code | 6 blank | 72 comment | 0 complexity | cd410467c3573cf7955888f43e8fe0c4 MD5 | raw file
  1. /* ***** BEGIN LICENSE BLOCK *****
  2. * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3. *
  4. * The contents of this file are subject to the Mozilla Public License Version
  5. * 1.1 (the "License"); you may not use this file except in compliance with
  6. * the License. You may obtain a copy of the License at
  7. * http://www.mozilla.org/MPL/
  8. *
  9. * Software distributed under the License is distributed on an "AS IS" basis,
  10. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11. * for the specific language governing rights and limitations under the
  12. * License.
  13. *
  14. * The Original Code is the Netscape security libraries.
  15. *
  16. * The Initial Developer of the Original Code is
  17. * Netscape Communications Corporation.
  18. * Portions created by the Initial Developer are Copyright (C) 1994-2000
  19. * the Initial Developer. All Rights Reserved.
  20. *
  21. * Contributor(s):
  22. *
  23. * Alternatively, the contents of this file may be used under the terms of
  24. * either the GNU General Public License Version 2 or later (the "GPL"), or
  25. * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26. * in which case the provisions of the GPL or the LGPL are applicable instead
  27. * of those above. If you wish to allow use of your version of this file only
  28. * under the terms of either the GPL or the LGPL, and not to allow others to
  29. * use your version of this file under the terms of the MPL, indicate your
  30. * decision by deleting the provisions above and replace them with the notice
  31. * and other provisions required by the GPL or the LGPL. If you do not delete
  32. * the provisions above, a recipient may use your version of this file under
  33. * the terms of any one of the MPL, the GPL or the LGPL.
  34. *
  35. * ***** END LICENSE BLOCK ***** */
  36. #ifndef NSSCKBI_H
  37. #define NSSCKBI_H
  38. /*
  39. * NSS BUILTINS Version numbers.
  40. *
  41. * These are the version numbers for the builtins module packaged with
  42. * this release on NSS. To determine the version numbers of the builtin
  43. * module you are using, use the appropriate PKCS #11 calls.
  44. *
  45. * These version numbers detail changes to the PKCS #11 interface. They map
  46. * to the PKCS #11 spec versions.
  47. */
  48. #define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
  49. #define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
  50. /* These version numbers detail the changes
  51. * to the list of trusted certificates.
  52. *
  53. * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
  54. * for each NSS minor release AND whenever we change the list of
  55. * trusted certificates. 10 minor versions are allocated for each
  56. * NSS 3.x branch as follows, allowing us to change the list of
  57. * trusted certificates up to 9 times on each branch.
  58. * - NSS 3.5 branch: 3-9
  59. * - NSS 3.6 branch: 10-19
  60. * - NSS 3.7 branch: 20-29
  61. * - NSS 3.8 branch: 30-39
  62. * - NSS 3.9 branch: 40-49
  63. * - NSS 3.10 branch: 50-59
  64. * - NSS 3.11 branch: 60-69
  65. * ...
  66. * - NSS 3.14 branch: 90-99
  67. * ...
  68. * - NSS 3.30 branch: 250-255
  69. *
  70. * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE. It's not clear
  71. * whether we may use its full range (0-255) or only 0-99 because
  72. * of the comment in the CK_VERSION type definition.
  73. */
  74. #define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1
  75. #define NSS_BUILTINS_LIBRARY_VERSION_MINOR 70
  76. #define NSS_BUILTINS_LIBRARY_VERSION "1.70"
  77. /* These version numbers detail the semantic changes to the ckfw engine. */
  78. #define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
  79. #define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
  80. /* These version numbers detail the semantic changes to ckbi itself
  81. * (new PKCS #11 objects), etc. */
  82. #define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
  83. #define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
  84. #endif /* NSSCKBI_H */