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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/ckfw/nssmkey/nssmkey.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifndef NSSMKEY_H
     1.9 +#define NSSMKEY_H
    1.10 +
    1.11 +/*
    1.12 + * NSS CKMK Version numbers.
    1.13 + *
    1.14 + * These are the version numbers for the nssmkey module packaged with
    1.15 + * this release on NSS. To determine the version numbers of the builtin
    1.16 + * module you are using, use the appropriate PKCS #11 calls.
    1.17 + *
    1.18 + * These version numbers detail changes to the PKCS #11 interface. They map
    1.19 + * to the PKCS #11 spec versions.
    1.20 + */
    1.21 +#define NSS_CKMK_CRYPTOKI_VERSION_MAJOR 2
    1.22 +#define NSS_CKMK_CRYPTOKI_VERSION_MINOR 20
    1.23 +
    1.24 +/* These version numbers detail the changes 
    1.25 + * to the list of trusted certificates.
    1.26 + *
    1.27 + * NSS_CKMK_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
    1.28 + * whether we may use its full range (0-255) or only 0-99 because
    1.29 + * of the comment in the CK_VERSION type definition.
    1.30 + */
    1.31 +#define NSS_CKMK_LIBRARY_VERSION_MAJOR 1
    1.32 +#define NSS_CKMK_LIBRARY_VERSION_MINOR 1
    1.33 +#define NSS_CKMK_LIBRARY_VERSION "1.1"
    1.34 +
    1.35 +/* These version numbers detail the semantic changes to the ckfw engine. */
    1.36 +#define NSS_CKMK_HARDWARE_VERSION_MAJOR 1
    1.37 +#define NSS_CKMK_HARDWARE_VERSION_MINOR 0
    1.38 +
    1.39 +/* These version numbers detail the semantic changes to ckbi itself 
    1.40 + * (new PKCS #11 objects), etc. */
    1.41 +#define NSS_CKMK_FIRMWARE_VERSION_MAJOR 1
    1.42 +#define NSS_CKMK_FIRMWARE_VERSION_MINOR 0
    1.43 +
    1.44 +#endif /* NSSMKEY_H */

mercurial