michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef NSSCKBI_H michael@0: #define NSSCKBI_H michael@0: michael@0: /* michael@0: * NSS BUILTINS Version numbers. michael@0: * michael@0: * These are the version numbers for the builtins module packaged with michael@0: * this release on NSS. To determine the version numbers of the builtin michael@0: * module you are using, use the appropriate PKCS #11 calls. michael@0: * michael@0: * These version numbers detail changes to the PKCS #11 interface. They map michael@0: * to the PKCS #11 spec versions. michael@0: */ michael@0: #define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2 michael@0: #define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20 michael@0: michael@0: /* These version numbers detail the changes michael@0: * to the list of trusted certificates. michael@0: * michael@0: * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped michael@0: * for each NSS minor release AND whenever we change the list of michael@0: * trusted certificates. 10 minor versions are allocated for each michael@0: * NSS 3.x branch as follows, allowing us to change the list of michael@0: * trusted certificates up to 9 times on each branch. michael@0: * - NSS 3.5 branch: 3-9 michael@0: * - NSS 3.6 branch: 10-19 michael@0: * - NSS 3.7 branch: 20-29 michael@0: * - NSS 3.8 branch: 30-39 michael@0: * - NSS 3.9 branch: 40-49 michael@0: * - NSS 3.10 branch: 50-59 michael@0: * - NSS 3.11 branch: 60-69 michael@0: * ... michael@0: * - NSS 3.12 branch: 70-89 michael@0: * - NSS 3.13 branch: 90-99 michael@0: * - NSS 3.14 branch: 100-109 michael@0: * ... michael@0: * - NSS 3.29 branch: 250-255 michael@0: * michael@0: * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE. It's not clear michael@0: * whether we may use its full range (0-255) or only 0-99 because michael@0: * of the comment in the CK_VERSION type definition. michael@0: */ michael@0: #define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1 michael@0: #define NSS_BUILTINS_LIBRARY_VERSION_MINOR 98 michael@0: #define NSS_BUILTINS_LIBRARY_VERSION "1.98" michael@0: michael@0: /* These version numbers detail the semantic changes to the ckfw engine. */ michael@0: #define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1 michael@0: #define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0 michael@0: michael@0: /* These version numbers detail the semantic changes to ckbi itself michael@0: * (new PKCS #11 objects), etc. */ michael@0: #define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1 michael@0: #define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0 michael@0: michael@0: #endif /* NSSCKBI_H */