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

Only the SO can make this call.

The call cannot be made on a token that currently has any in-progress sessions. This function deletes all the stored content on a token and disables the token and slot from use.

To reuse the slot the SO must enable the slot again by removing its slot identifier from the slot disabled list (see PKCS 11 documentation about configuration parameters), and then redefine its token configuration in the p6pkcs11.conf file. Once completed the token can then be re-initialized via the P6R_AddSlot() call.

Return values: CKR_CRYPTOKI_NOT_INITIALIZED, CKR_ARGUMENTS_BAD, CKR_SLOT_ID_INVALID, CKR_SESSION_EXISTS, CKR_PIN_INCORRECT, CKR_DEVICE_ERROR, CKR_GENERAL_ERROR, CKR_FUNCTION_FAILED, CKR_OK