Changes

Jump to: navigation, search

NSS

2,550 bytes added, 23:54, 2 August 2005
Softoken Specific Parameters
The internal NSS PKCS #11 implementation (softoken) requires Applications parameters. It will not initialize if the '''parameters'''= is not specified.
If another application wishes to load the softoken, that application must supply a non-NULL libraryParameters value in the CK_C_INITIALIZE_ARGS structure passed at C_INITIALIZE time. The parameter passed to softoken is a space separated list of name/value pairs exactly like those specified in the PKCS #11 module spec.  Valid values are: '''configDir''' - Configuration Directory where NSS can store persistant state information (typically databases). '''secmod''' - Name of the secmod database (default = secmod.db). '''certPrefix''' - Prefix for both the cert and key database unless keyPrefix is specified. '''keyPrefix''' - Prefix for the key database. '''minPWLen''' - Minimum password length in bytes. '''manufacturerID''' - Override the default value for the module to return as the manufactureID of the CK_INFO, CK_SLOT_INFO, and CK_TOKEN_INFO structures with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''libraryDescription''' - Override the default value for the module to return as the libraryDescription of the CK_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL).. '''cryptoTokenDescription''' - Override the default value for the internal crypto token to return as the label of the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''dbTokenDescription''' - Override the default value for the internal DB token to return as the label of the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''FIPSTokenDescription''' - Override the default value for the internal FIPS token to return as the label of the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''cryptoSlotDescription''' - Override the default value for the internal crypto token to return as the slotDescription of the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''dbSlotDescription''' - Override the default value for the internal DB token to return as the slotDescription of the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''FIPSSlotDescription''' - Override the default value for the internal FIPS token to return as the slotDescription of the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL). '''flags''' - Valid flags are: '''noModDB''' '''readOnly''' '''noCertDB''' '''noKeyDB''' '''forceOpen''' '''passwordRequired''' '''optimizeSpace''' '''tokens''' - configure tokens by hand. Typically this parameter would not be specified unless additional tokens
439
edits

Navigation menu