andre@0: /* This Source Code Form is subject to the terms of the Mozilla Public andre@0: * License, v. 2.0. If a copy of the MPL was not distributed with this andre@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ andre@0: andre@0: /* andre@0: * builtins/constants.c andre@0: * andre@0: * Identification and other constants, all collected here in one place. andre@0: */ andre@0: andre@0: #ifndef NSSBASET_H andre@0: #include "nssbaset.h" andre@0: #endif /* NSSBASET_H */ andre@0: andre@0: #ifndef NSSCKT_H andre@0: #include "nssckt.h" andre@0: #endif /* NSSCKT_H */ andre@0: andre@0: #ifndef NSSCKBI_H andre@0: #include "nssckbi.h" andre@0: #endif /* NSSCKBI_H */ andre@0: andre@0: const CK_VERSION andre@0: nss_builtins_CryptokiVersion = { andre@0: NSS_BUILTINS_CRYPTOKI_VERSION_MAJOR, andre@0: NSS_BUILTINS_CRYPTOKI_VERSION_MINOR }; andre@0: andre@0: const CK_VERSION andre@0: nss_builtins_LibraryVersion = { andre@0: NSS_BUILTINS_LIBRARY_VERSION_MAJOR, andre@0: NSS_BUILTINS_LIBRARY_VERSION_MINOR}; andre@0: andre@0: const CK_VERSION andre@0: nss_builtins_HardwareVersion = { andre@0: NSS_BUILTINS_HARDWARE_VERSION_MAJOR, andre@0: NSS_BUILTINS_HARDWARE_VERSION_MINOR }; andre@0: andre@0: const CK_VERSION andre@0: nss_builtins_FirmwareVersion = { andre@0: NSS_BUILTINS_FIRMWARE_VERSION_MAJOR, andre@0: NSS_BUILTINS_FIRMWARE_VERSION_MINOR }; andre@0: andre@0: const NSSUTF8 andre@0: nss_builtins_ManufacturerID[] = { "Mozilla Foundation" }; andre@0: andre@0: const NSSUTF8 andre@0: nss_builtins_LibraryDescription[] = { "NSS Builtin Object Cryptoki Module" }; andre@0: andre@0: const NSSUTF8 andre@0: nss_builtins_SlotDescription[] = { "NSS Builtin Objects" }; andre@0: andre@0: const NSSUTF8 andre@0: nss_builtins_TokenLabel[] = { "Builtin Object Token" }; andre@0: andre@0: const NSSUTF8 andre@0: nss_builtins_TokenModel[] = { "1" }; andre@0: andre@0: /* should this be e.g. the certdata.txt RCS revision number? */ andre@0: const NSSUTF8 andre@0: nss_builtins_TokenSerialNumber[] = { "1" }; andre@0: