CT_SetHsmDead
CK_DEFINE_FUNCTION(CK_RV, CT_SetHsmDead)(
CK_ULONG hsmIDx,
CK_BBOOL bDisable
);
This function can be used by an application to simulate the behavior of the WLD or HA system when an HSM fails. See also CT_GetHSMId.
Return Codes:
CKR_OK | Successful. |
CKR_ARGUMENTS_BAD | The supplied hsmID is invalid. |
CKR_FUNCTION_NOT_SUPPORTED | The library is not in WLD mode |
This function is a SafeNet extension to PKCS #11.