PageRenderTime 465ms CodeModel.GetById 281ms app.highlight 2ms RepoModel.GetById 179ms app.codeStats 0ms

/gecko_api/include/nssckbi.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 90 lines | 12 code | 6 blank | 72 comment | 0 complexity | cd410467c3573cf7955888f43e8fe0c4 MD5 | raw file
 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 *
21 * Contributor(s):
22 *
23 * Alternatively, the contents of this file may be used under the terms of
24 * either the GNU General Public License Version 2 or later (the "GPL"), or
25 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26 * in which case the provisions of the GPL or the LGPL are applicable instead
27 * of those above. If you wish to allow use of your version of this file only
28 * under the terms of either the GPL or the LGPL, and not to allow others to
29 * use your version of this file under the terms of the MPL, indicate your
30 * decision by deleting the provisions above and replace them with the notice
31 * and other provisions required by the GPL or the LGPL. If you do not delete
32 * the provisions above, a recipient may use your version of this file under
33 * the terms of any one of the MPL, the GPL or the LGPL.
34 *
35 * ***** END LICENSE BLOCK ***** */
36
37#ifndef NSSCKBI_H
38#define NSSCKBI_H
39
40/*
41 * NSS BUILTINS Version numbers.
42 *
43 * These are the version numbers for the builtins module packaged with
44 * this release on NSS. To determine the version numbers of the builtin
45 * module you are using, use the appropriate PKCS #11 calls.
46 *
47 * These version numbers detail changes to the PKCS #11 interface. They map
48 * to the PKCS #11 spec versions.
49 */
50#define NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR 2
51#define NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 20
52
53/* These version numbers detail the changes 
54 * to the list of trusted certificates.
55 *
56 * The NSS_BUILTINS_LIBRARY_VERSION_MINOR macro needs to be bumped
57 * for each NSS minor release AND whenever we change the list of
58 * trusted certificates.  10 minor versions are allocated for each
59 * NSS 3.x branch as follows, allowing us to change the list of
60 * trusted certificates up to 9 times on each branch.
61 *   - NSS 3.5 branch:  3-9
62 *   - NSS 3.6 branch:  10-19
63 *   - NSS 3.7 branch:  20-29
64 *   - NSS 3.8 branch:  30-39
65 *   - NSS 3.9 branch:  40-49
66 *   - NSS 3.10 branch: 50-59
67 *   - NSS 3.11 branch: 60-69
68 *     ...
69 *   - NSS 3.14 branch: 90-99
70 *     ...
71 *   - NSS 3.30 branch: 250-255
72 *
73 * NSS_BUILTINS_LIBRARY_VERSION_MINOR is a CK_BYTE.  It's not clear
74 * whether we may use its full range (0-255) or only 0-99 because
75 * of the comment in the CK_VERSION type definition.
76 */
77#define NSS_BUILTINS_LIBRARY_VERSION_MAJOR 1
78#define NSS_BUILTINS_LIBRARY_VERSION_MINOR 70
79#define NSS_BUILTINS_LIBRARY_VERSION "1.70"
80
81/* These version numbers detail the semantic changes to the ckfw engine. */
82#define NSS_BUILTINS_HARDWARE_VERSION_MAJOR 1
83#define NSS_BUILTINS_HARDWARE_VERSION_MINOR 0
84
85/* These version numbers detail the semantic changes to ckbi itself 
86 * (new PKCS #11 objects), etc. */
87#define NSS_BUILTINS_FIRMWARE_VERSION_MAJOR 1
88#define NSS_BUILTINS_FIRMWARE_VERSION_MINOR 0
89
90#endif /* NSSCKBI_H */