security/nss/lib/ckfw/nssmkey/nssmkey.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #ifndef NSSMKEY_H
     6 #define NSSMKEY_H
     8 /*
     9  * NSS CKMK Version numbers.
    10  *
    11  * These are the version numbers for the nssmkey module packaged with
    12  * this release on NSS. To determine the version numbers of the builtin
    13  * module you are using, use the appropriate PKCS #11 calls.
    14  *
    15  * These version numbers detail changes to the PKCS #11 interface. They map
    16  * to the PKCS #11 spec versions.
    17  */
    18 #define NSS_CKMK_CRYPTOKI_VERSION_MAJOR 2
    19 #define NSS_CKMK_CRYPTOKI_VERSION_MINOR 20
    21 /* These version numbers detail the changes 
    22  * to the list of trusted certificates.
    23  *
    24  * NSS_CKMK_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
    25  * whether we may use its full range (0-255) or only 0-99 because
    26  * of the comment in the CK_VERSION type definition.
    27  */
    28 #define NSS_CKMK_LIBRARY_VERSION_MAJOR 1
    29 #define NSS_CKMK_LIBRARY_VERSION_MINOR 1
    30 #define NSS_CKMK_LIBRARY_VERSION "1.1"
    32 /* These version numbers detail the semantic changes to the ckfw engine. */
    33 #define NSS_CKMK_HARDWARE_VERSION_MAJOR 1
    34 #define NSS_CKMK_HARDWARE_VERSION_MINOR 0
    36 /* These version numbers detail the semantic changes to ckbi itself 
    37  * (new PKCS #11 objects), etc. */
    38 #define NSS_CKMK_FIRMWARE_VERSION_MAJOR 1
    39 #define NSS_CKMK_FIRMWARE_VERSION_MINOR 0
    41 #endif /* NSSMKEY_H */

mercurial