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