CK_DECLARE_FUNCTION | ( | CK_RV | , |
P6R_CreateSlot | |||
) |
P6R_CreateSlot is used to dynamically create a new slot.
Slots can be created either by use of a configuration file or dynamically via this extension function.
To dynamically create a new slot and token the following sequence of calls must be successfully made: P6R_CreateSlot(); P6R_CreateToken(); C_InitToken();
Return value: CKR_CRYPTOKI_NOT_INITIALIZED, CKR_ARGUMENTS_BAD, CKR_GENERAL_ERROR, CKR_FUNCTION_FAILED, CKR_OK