Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #ifndef NSSCAPI_H |
michael@0 | 6 | #define NSSCAPI_H |
michael@0 | 7 | |
michael@0 | 8 | /* |
michael@0 | 9 | * NSS CKCAPI Version numbers. |
michael@0 | 10 | * |
michael@0 | 11 | * These are the version numbers for the capi module packaged with |
michael@0 | 12 | * this release on NSS. To determine the version numbers of the builtin |
michael@0 | 13 | * module you are using, use the appropriate PKCS #11 calls. |
michael@0 | 14 | * |
michael@0 | 15 | * These version numbers detail changes to the PKCS #11 interface. They map |
michael@0 | 16 | * to the PKCS #11 spec versions. |
michael@0 | 17 | */ |
michael@0 | 18 | #define NSS_CKCAPI_CRYPTOKI_VERSION_MAJOR 2 |
michael@0 | 19 | #define NSS_CKCAPI_CRYPTOKI_VERSION_MINOR 20 |
michael@0 | 20 | |
michael@0 | 21 | /* These version numbers detail the changes |
michael@0 | 22 | * to the list of trusted certificates. |
michael@0 | 23 | * |
michael@0 | 24 | * NSS_CKCAPI_LIBRARY_VERSION_MINOR is a CK_BYTE. It's not clear |
michael@0 | 25 | * whether we may use its full range (0-255) or only 0-99 because |
michael@0 | 26 | * of the comment in the CK_VERSION type definition. |
michael@0 | 27 | */ |
michael@0 | 28 | #define NSS_CKCAPI_LIBRARY_VERSION_MAJOR 1 |
michael@0 | 29 | #define NSS_CKCAPI_LIBRARY_VERSION_MINOR 1 |
michael@0 | 30 | #define NSS_CKCAPI_LIBRARY_VERSION "1.1" |
michael@0 | 31 | |
michael@0 | 32 | /* These version numbers detail the semantic changes to the ckfw engine. */ |
michael@0 | 33 | #define NSS_CKCAPI_HARDWARE_VERSION_MAJOR 1 |
michael@0 | 34 | #define NSS_CKCAPI_HARDWARE_VERSION_MINOR 0 |
michael@0 | 35 | |
michael@0 | 36 | /* These version numbers detail the semantic changes to ckbi itself |
michael@0 | 37 | * (new PKCS #11 objects), etc. */ |
michael@0 | 38 | #define NSS_CKCAPI_FIRMWARE_VERSION_MAJOR 1 |
michael@0 | 39 | #define NSS_CKCAPI_FIRMWARE_VERSION_MINOR 0 |
michael@0 | 40 | |
michael@0 | 41 | #endif /* NSSCKBI_H */ |