Import from 1.9a8 tarball
[mozilla-nss.git] / security / nss / lib / ckfw / builtins / nssckbi.h
blob2133bb3c03d0480c69ea7a3a014b0d94bb1a9780
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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.
14 * The Original Code is the Netscape security libraries.
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.
21 * Contributor(s):
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.
35 * ***** END LICENSE BLOCK ***** */
37 #ifndef NSSCKBI_H
38 #define NSSCKBI_H
41 * NSS BUILTINS Version numbers.
43 * These are the version numbers for the builtins module packaged with
44 * this release on NSS. To determine the version numbers of the builtin
45 * module you are using, use the appropriate PKCS #11 calls.
47 * These version numbers detail changes to the PKCS #11 interface. They map
48 * to the PKCS #11 spec versions.
50 #define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
51 #define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
53 /* These version numbers detail the changes
54 * to the list of trusted certificates.
56 * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
57 * for each NSS minor release AND whenever we change the list of
58 * trusted certificates. 10 minor versions are allocated for each
59 * NSS 3.x branch as follows, allowing us to change the list of
60 * trusted certificates up to 9 times on each branch.
61 * - NSS 3.5 branch: 3-9
62 * - NSS 3.6 branch: 10-19
63 * - NSS 3.7 branch: 20-29
64 * - NSS 3.8 branch: 30-39
65 * - NSS 3.9 branch: 40-49
66 * - NSS 3.10 branch: 50-59
67 * - NSS 3.11 branch: 60-69
68 * ...
69 * - NSS 3.14 branch: 90-99
70 * ...
71 * - NSS 3.30 branch: 250-255
73 * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE. It's not clear
74 * whether we may use its full range (0-255) or only 0-99 because
75 * of the comment in the CK_VERSION type definition.
77 #define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1
78 #define NSS_BUILTINS_LIBRARY_VERSION_MINOR 70
79 #define NSS_BUILTINS_LIBRARY_VERSION "1.70"
81 /* These version numbers detail the semantic changes to the ckfw engine. */
82 #define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
83 #define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
85 /* These version numbers detail the semantic changes to ckbi itself
86 * (new PKCS #11 objects), etc. */
87 #define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
88 #define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
90 #endif /* NSSCKBI_H */