Blame SOURCES/nssckbi.h

206e80
/* This Source Code Form is subject to the terms of the Mozilla Public
206e80
 * License, v. 2.0. If a copy of the MPL was not distributed with this
206e80
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
206e80
206e80
#ifndef NSSCKBI_H
206e80
#define NSSCKBI_H
206e80
206e80
/*
206e80
 * NSS BUILTINS Version numbers.
206e80
 *
206e80
 * These are the version numbers for the builtins module packaged with
206e80
 * this release on NSS. To determine the version numbers of the builtin
206e80
 * module you are using, use the appropriate PKCS #11 calls.
206e80
 *
206e80
 * These version numbers detail changes to the PKCS #11 interface. They map
206e80
 * to the PKCS #11 spec versions.
206e80
 */
206e80
#define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
206e80
#define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
206e80
206e80
/* These version numbers detail the changes
206e80
 * to the list of trusted certificates.
206e80
 *
206e80
 * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
206e80
 * whenever we change the list of trusted certificates.
206e80
 *
206e80
 * Please use the following rules when increasing the version number:
206e80
 *
206e80
 * - starting with version 2.14, NSS_BUILTINS_LIBRARY_VERSION_MINOR
206e80
 *   must always be an EVEN number (e.g. 16, 18, 20 etc.)
206e80
 *
206e80
 * - whenever possible, if older branches require a modification to the
206e80
 *   list, these changes should be made on the main line of development (trunk),
206e80
 *   and the older branches should update to the most recent list.
206e80
 * 
206e80
 * - ODD minor version numbers are reserved to indicate a snapshot that has
206e80
 *   deviated from the main line of development, e.g. if it was necessary
206e80
 *   to modify the list on a stable branch.
206e80
 *   Once the version has been changed to an odd number (e.g. 2.13) on a branch,
206e80
 *   it should remain unchanged on that branch, even if further changes are
206e80
 *   made on that branch.
206e80
 *
206e80
 * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
206e80
 * whether we may use its full range (0-255) or only 0-99 because
206e80
 * of the comment in the CK_VERSION type definition.
206e80
 * It's recommend to switch back to 0 after having reached version 98/99.
206e80
 */
206e80
#define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 2
206e80
#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 22
206e80
#define NSS_BUILTINS_LIBRARY_VERSION "2.22"
206e80
206e80
/* These version numbers detail the semantic changes to the ckfw engine. */
206e80
#define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
206e80
#define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
206e80
206e80
/* These version numbers detail the semantic changes to ckbi itself
206e80
 * (new PKCS #11 objects), etc. */
206e80
#define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
206e80
#define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
206e80
206e80
#endif /* NSSCKBI_H */