constants.c (1613B)
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 /* 6 * builtins/constants.c 7 * 8 * Identification and other constants, all collected here in one place. 9 */ 10 11 #ifndef NSSBASET_H 12 #include "nssbaset.h" 13 #endif /* NSSBASET_H */ 14 15 #ifndef NSSCKT_H 16 #include "nssckt.h" 17 #endif /* NSSCKT_H */ 18 19 #ifndef NSSCKBI_H 20 #include "nssckbi.h" 21 #endif /* NSSCKBI_H */ 22 23 const CK_VERSION 24 nss_builtins_CryptokiVersion = { 25 NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR, 26 NSS_BUILTINS_CRYPTOKI_VERSION_MINOR 27 }; 28 29 const CK_VERSION 30 nss_builtins_LibraryVersion = { 31 NSS_BUILTINS_LIBRARY_VERSION_MAJOR, 32 NSS_BUILTINS_LIBRARY_VERSION_MINOR 33 }; 34 35 const CK_VERSION 36 nss_builtins_HardwareVersion = { 37 NSS_BUILTINS_HARDWARE_VERSION_MAJOR, 38 NSS_BUILTINS_HARDWARE_VERSION_MINOR 39 }; 40 41 const CK_VERSION 42 nss_builtins_FirmwareVersion = { 43 NSS_BUILTINS_FIRMWARE_VERSION_MAJOR, 44 NSS_BUILTINS_FIRMWARE_VERSION_MINOR 45 }; 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" };