security/nss/lib/ckfw/capi/nsscapi.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 NSSCAPI_H
     6 #define NSSCAPI_H
     8 /*
     9  * NSS CKCAPI Version numbers.
    10  *
    11  * These are the version numbers for the capi 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_CKCAPI_CRYPTOKI_VERSION_MAJOR 2
    19 #define NSS_CKCAPI_CRYPTOKI_VERSION_MINOR 20
    21 /* These version numbers detail the changes 
    22  * to the list of trusted certificates.
    23  *
    24  * NSS_CKCAPI_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_CKCAPI_LIBRARY_VERSION_MAJOR 1
    29 #define NSS_CKCAPI_LIBRARY_VERSION_MINOR 1
    30 #define NSS_CKCAPI_LIBRARY_VERSION "1.1"
    32 /* These version numbers detail the semantic changes to the ckfw engine. */
    33 #define NSS_CKCAPI_HARDWARE_VERSION_MAJOR 1
    34 #define NSS_CKCAPI_HARDWARE_VERSION_MINOR 0
    36 /* These version numbers detail the semantic changes to ckbi itself 
    37  * (new PKCS #11 objects), etc. */
    38 #define NSS_CKCAPI_FIRMWARE_VERSION_MAJOR 1
    39 #define NSS_CKCAPI_FIRMWARE_VERSION_MINOR 0
    41 #endif /* NSSCKBI_H */

mercurial