439
edits
Changes
NSS
,→Softoken Specific Parameters
'''keyPrefix''' - Prefix for the key database.
'''minPWLen''' - Minimum password length in bytes.
'''manufacturerID''' - Override the default manufactureID value for the module to return as the manufactureID of returned in 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, partial UTF8 characters dropped). '''libraryDescription''' - Override the default libraryDescription value for the module to return as the libraryDescription of returned in the CK_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL, partial UTF8 characters dropped).. '''cryptoTokenDescription''' - Override the default label value for the internal crypto token to return as the label of returned in the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL, partial UTF8 characters dropped). '''dbTokenDescription''' - Override the default label value for the internal DB token to return as the label of returned in the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL, partial UTF8 characters dropped). '''FIPSTokenDescription''' - Override the default label value for the internal FIPS token to return as the label of returned in the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL, partial UTF8 characters dropped). '''cryptoSlotDescription''' - Override the default slotDescription value for the internal crypto token to return as the slotDescription of returned in the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 64 bytes (no NULL, partial UTF8 characters dropped). '''dbSlotDescription''' - Override the default slotDescription value for the internal DB token to return as the slotDescription of returned in the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 64 bytes (no NULL, partial UTF8 characters dropped). '''FIPSSlotDescription''' - Override the default slotDecription value for the internal FIPS token to return as the slotDescription of returned in the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 64 bytes (no NULL, partial UTF8 characters dropped).
'''flags''' - comma separated list of flag values, parsed case-insensitive.
Valid flags are:
'''noModDB''' - don't open SECMOD.db and try to supply the strings. The MOD DB function is not through standard PKCS #11 interfaces.
'''readOnly''' - All databases Databases should be opened read only.
'''noCertDB''' - Don't try to open a certificate database.
'''noKeyDB''' - Don't try to open a key database.
'''passwordRequired''' - zero length passwords are not acceptable (valid only if there is a keyDB).
'''optimizeSpace''' - allocate smaller hash tables and lock tables.When this flag is not specified, Softoken will allocate large tables to prevent lock contention.
Parameters:
'''configDir'''- The location of the databases for this token. If configDir is not specified, the default configDir specified earlier will be used. '''certPrefix'''- Cert prefix for this token. '''keyPrefix'''- Prefix for the key database for this token. '''tokenDescription'''- The label value for this token returned in the CK_TOKEN_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL, partial UTF8 characters dropped). '''slotDescription'''- The slotDescription value for this token returned in the CK_SLOT_INFO structure with an internationalize string (UTF8). This value will be truncated at 64 bytes (no NULL, partial UTF8 characters dropped). '''minPWLen'''- minimum password length for this token.
flags
Valid flags are:
'''readOnly'''- Databases should be opened read only. '''noCertDB'''- Don't try to open a certificate database. '''noKeyDB'''- Don't try to open a key database. '''forceOpen'''- Don't fail to initialize the token if the databases could not be opened. '''passwordRequired'''- zero length passwords are not acceptable (valid only if there is a keyDB). '''optimizeSpace'''- allocate smaller hash tables and lock tables.When this flag is not specified, Softoken will allocate large tables to prevent lock contention.