Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CK_DECLARE_FUNCTION ( CK_RV  ,
P6R_AddSlot   
)

P6R_AddSlot takes a newly defined slot from the p6pkcs11.conf file and adds it to a running instance of a p6pkcs11 library.

Configuration information in the slot that defines a token is processed. All the slots in the p6pkcs11.conf file must have consecutive slot identifiers so the parameter to this function must be the next free slot number.

For this function to work the user must first add the proper slot configuration information to the p6pkcs11.conf file first and then call this function.

Return value: CKR_CRYPTOKI_NOT_INITIALIZED, CKR_SLOT_ID_INVALID, CKR_GENERAL_ERROR, CKR_FUNCTION_FAILED, CKR_OK