NSS: Difference between revisions

558 bytes added ,  8 August 2005
Line 147: Line 147:
  '''configDir''' - Configuration Directory where NSS can store persistant state information (typically databases).
  '''configDir''' - Configuration Directory where NSS can store persistant state information (typically databases).
  '''secmod'''    - Name of the secmod database (default = secmod.db).
  '''secmod'''    - Name of the secmod database (default = secmod.db).
  '''certPrefix''' - Prefix for both the cert and key database unless keyPrefix is specified.
  '''certPrefix''' - Prefix for the cert database.
  '''keyPrefix''' - Prefix for the key database.
  '''keyPrefix''' - Prefix for the key database.
  '''minPWLen''' - Minimum password length in bytes.
  '''minPWLen''' - Minimum password length in bytes.
Line 158: Line 158:
  '''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).
  '''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).
  '''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''' -
   '''flags''' - comma separated list of flag values, parsed case-insensitive.
   Valid flags are:
   Valid flags are:
   '''noModDB'''
   '''noModDB''' - don't open SECMOD.db and try to supply the strings. The MOD DB function is not through standard PKCS #11 interfaces.
   '''readOnly'''
   '''readOnly''' - All databases should be opened read only.
   '''noCertDB'''
   '''noCertDB''' - Don't try to open a certificate database.
   '''noKeyDB'''
   '''noKeyDB''' - Don't try to open a key database.
   '''forceOpen'''
   '''forceOpen''' - Don't fail to initialize the token if the databases could not be opened.
   '''passwordRequired'''
   '''passwordRequired''' - zero length passwords are not acceptable (valid only if there is a keyDB).
   '''optimizeSpace'''
   '''optimizeSpace''' - allocate smaller hash tables and lock tables.When this flag is not specified, Softoken will allocate large tables to prevent lock contention.
   '''tokens''' - configure tokens by hand. Typically this parameter would not be specified unless additional tokens
   '''tokens''' - configure tokens by hand. Typically this parameter would not be specified unless additional tokens
     Parameters:
     Parameters:
439

edits