michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * nssmkey/constants.c michael@0: * michael@0: * Identification and other constants, all collected here in one place. michael@0: */ michael@0: michael@0: #ifndef NSSBASET_H michael@0: #include "nssbaset.h" michael@0: #endif /* NSSBASET_H */ michael@0: michael@0: #ifndef NSSCKT_H michael@0: #include "nssckt.h" michael@0: #endif /* NSSCKT_H */ michael@0: michael@0: #include "nssmkey.h" michael@0: michael@0: NSS_IMPLEMENT_DATA const CK_VERSION michael@0: nss_ckmk_CryptokiVersion = { michael@0: NSS_CKMK_CRYPTOKI_VERSION_MAJOR, michael@0: NSS_CKMK_CRYPTOKI_VERSION_MINOR }; michael@0: michael@0: NSS_IMPLEMENT_DATA const NSSUTF8 * michael@0: nss_ckmk_ManufacturerID = (NSSUTF8 *) "Mozilla Foundation"; michael@0: michael@0: NSS_IMPLEMENT_DATA const NSSUTF8 * michael@0: nss_ckmk_LibraryDescription = (NSSUTF8 *) "NSS Access to Mac OS X Key Ring"; michael@0: michael@0: NSS_IMPLEMENT_DATA const CK_VERSION michael@0: nss_ckmk_LibraryVersion = { michael@0: NSS_CKMK_LIBRARY_VERSION_MAJOR, michael@0: NSS_CKMK_LIBRARY_VERSION_MINOR}; michael@0: michael@0: NSS_IMPLEMENT_DATA const NSSUTF8 * michael@0: nss_ckmk_SlotDescription = (NSSUTF8 *) "Mac OS X Key Ring"; michael@0: michael@0: NSS_IMPLEMENT_DATA const CK_VERSION michael@0: nss_ckmk_HardwareVersion = { michael@0: NSS_CKMK_HARDWARE_VERSION_MAJOR, michael@0: NSS_CKMK_HARDWARE_VERSION_MINOR }; michael@0: michael@0: NSS_IMPLEMENT_DATA const CK_VERSION michael@0: nss_ckmk_FirmwareVersion = { michael@0: NSS_CKMK_FIRMWARE_VERSION_MAJOR, michael@0: NSS_CKMK_FIRMWARE_VERSION_MINOR }; michael@0: michael@0: NSS_IMPLEMENT_DATA const NSSUTF8 * michael@0: nss_ckmk_TokenLabel = (NSSUTF8 *) "Mac OS X Key Ring"; michael@0: michael@0: NSS_IMPLEMENT_DATA const NSSUTF8 * michael@0: nss_ckmk_TokenModel = (NSSUTF8 *) "1"; michael@0: michael@0: NSS_IMPLEMENT_DATA const NSSUTF8 * michael@0: nss_ckmk_TokenSerialNumber = (NSSUTF8 *) "1"; michael@0: