Search completed in 1.20 seconds.
2 results for "ck_info":
FC_GetInfo
Mozilla › Projects › NSS › Reference › FC GetInfo
The version is 2.20 (major=0x02, minor=0x14). manufacturerID: the PKCS #11 library manufacturer, "Mozilla Foundation", padded with spaces to 32 characters and not null-terminated. flags: should be 0. ...
...The version is 2.20 (major=0x02, minor=0x14). manufacturerID: the PKCS #11 library manufacturer, "Mozilla Foundation", padded with spaces to 32 characters and not null-terminated. flags: should be 0. ...
... call FC_GetInfo without logging into the token (to assume the NSS User role). Return value FC_GetInfo always returns CKR_OK. FC_GetInfo should return CKR_ARGUMENTS_BAD if pInfo is NULL. FC_GetInfo should return CKR_CRYPTOKI_NOT_INITIALIZED if the library is not initialized. Examples Note the use of the %.32s format string to print the manufacturerID and libraryDescription members of the CK_INFO structure. #include <assert.h> #include <stdio.h> CK_FUNCTION_LIST_PTR pFunctionList; CK_RV crv; CK_INFO info; crv = FC_GetFunctionList(&pFunctionList); assert(crv == CKR_OK); ... /* invoke FC_GetInfo as pFunctionList->C_GetInfo */ crv = pFunctionList->C_GetInfo(&info); assert(crv == CKR_OK); printf("General information about the PKCS #11 library:\n"); printf(" PKCS #11 version: %d.%d\n",...
PKCS #11 Module Specs
Mozilla › Projects › NSS › PKCS11 › Module Specs
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 the cert database. keyPrefix Prefix for the key database. minPWLen Minimum password length in bytes. manufacturerID Override the default manufactureID value for the module 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 returned in the CK_INFO structure with an internationalize string (UTF8). This value will be truncated at 32 bytes (no NULL, partial UTF8 character...