Debian Codegraph @

src/nsspem.h

raw
1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is the Netscape security libraries.
15 *
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1994-2000
19 * the Initial Developer. All Rights Reserved.
20 * Portions created by Red Hat, Inc, are Copyright (C) 2005
21 *
22 * Contributor(s):
23 * Rob Crittenden ([email protected])
24 *
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
36 *
37 * ***** END LICENSE BLOCK ***** */
38
39 #ifndef NSSPEM_H
40 #define NSSPEM_H
41
42 /*
43 * NSS CKPEM Version numbers.
44 *
45 * These are the version numbers for the capi module packaged with
46 * this release on NSS. To determine the version numbers of the builtin
47 * module you are using, use the appropriate PKCS #11 calls.
48 *
49 * These version numbers detail changes to the PKCS #11 interface. They map
50 * to the PKCS #11 spec versions.
51 */
52 #define NSS_CKPEM_CRYPTOKI_VERSION_MAJOR 2
53 #define NSS_CKPEM_CRYPTOKI_VERSION_MINOR 20
54
55 /* These version numbers detail the changes
56 * to the list of trusted certificates.
57 *
58 * NSS_CKPEM_LIBRARY_VERSION_MINOR is a CK_BYTE. It's not clear
59 * whether we may use its full range (0-255) or only 0-99 because
60 * of the comment in the CK_VERSION type definition.
61 */
62 #define NSS_CKPEM_LIBRARY_VERSION_MAJOR 1
63 #define NSS_CKPEM_LIBRARY_VERSION_MINOR 1
64 #define NSS_CKPEM_LIBRARY_VERSION "1.1"
65
66 /* These version numbers detail the semantic changes to the ckfw engine. */
67 #define NSS_CKPEM_HARDWARE_VERSION_MAJOR 1
68 #define NSS_CKPEM_HARDWARE_VERSION_MINOR 0
69
70 /* These version numbers detail the semantic changes to ckbi itself
71 * (new PKCS #11 objects), etc. */
72 #define NSS_CKPEM_FIRMWARE_VERSION_MAJOR 1
73 #define NSS_CKPEM_FIRMWARE_VERSION_MINOR 0
74
75 #endif /* NSSCKBI_H */