OLD | NEW |
| (Empty) |
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/. */ | |
4 | |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile: constants.c,v $ $Revision: 1.14 $ $
Date: 2012/04/25 14:49:29 $"; | |
7 #endif /* DEBUG */ | |
8 | |
9 /* | |
10 * builtins/constants.c | |
11 * | |
12 * Identification and other constants, all collected here in one place. | |
13 */ | |
14 | |
15 #ifndef NSSBASET_H | |
16 #include "nssbaset.h" | |
17 #endif /* NSSBASET_H */ | |
18 | |
19 #ifndef NSSCKT_H | |
20 #include "nssckt.h" | |
21 #endif /* NSSCKT_H */ | |
22 | |
23 #ifndef NSSCKBI_H | |
24 #include "nssckbi.h" | |
25 #endif /* NSSCKBI_H */ | |
26 | |
27 const CK_VERSION | |
28 nss_builtins_CryptokiVersion = { | |
29 NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR, | |
30 NSS_BUILTINS_CRYPTOKI_VERSION_MINOR }; | |
31 | |
32 const CK_VERSION | |
33 nss_builtins_LibraryVersion = { | |
34 NSS_BUILTINS_LIBRARY_VERSION_MAJOR, | |
35 NSS_BUILTINS_LIBRARY_VERSION_MINOR}; | |
36 | |
37 const CK_VERSION | |
38 nss_builtins_HardwareVersion = { | |
39 NSS_BUILTINS_HARDWARE_VERSION_MAJOR, | |
40 NSS_BUILTINS_HARDWARE_VERSION_MINOR }; | |
41 | |
42 const CK_VERSION | |
43 nss_builtins_FirmwareVersion = { | |
44 NSS_BUILTINS_FIRMWARE_VERSION_MAJOR, | |
45 NSS_BUILTINS_FIRMWARE_VERSION_MINOR }; | |
46 | |
47 const NSSUTF8 | |
48 nss_builtins_ManufacturerID[] = { "Mozilla Foundation" }; | |
49 | |
50 const NSSUTF8 | |
51 nss_builtins_LibraryDescription[] = { "NSS Builtin Object Cryptoki Module" }; | |
52 | |
53 const NSSUTF8 | |
54 nss_builtins_SlotDescription[] = { "NSS Builtin Objects" }; | |
55 | |
56 const NSSUTF8 | |
57 nss_builtins_TokenLabel[] = { "Builtin Object Token" }; | |
58 | |
59 const NSSUTF8 | |
60 nss_builtins_TokenModel[] = { "1" }; | |
61 | |
62 /* should this be e.g. the certdata.txt RCS revision number? */ | |
63 const NSSUTF8 | |
64 nss_builtins_TokenSerialNumber[] = { "1" }; | |
65 | |
OLD | NEW |