C_GetMechanismInfo

This function operates as specified in PKCS#11 with the following exception. Normally SafeNet ProtectToolkit-C will return CKR_MECHANISM_INVALID if the mechanism type is not recognized, however, if the EntrustReady Mode is set, the structure pointed to by pInfo is cleared and CKR_OK is returned.

See the section Mechanisms for a description of the mechanisms supported by this module.

Synopsis

C_GetMechanismInfo(
        CK_SLOT_ID slotID,
        CK_MECHANISM_TYPE type,
        CK_MECHANISM_INFO_PTR pInfo
); 

Operation in WLD Mode

When SafeNet ProtectToolkit is configured to operate in WLD mode, a random slot from the HSM Token List for the provided slot ID is chosen, so as not to overload a particular device and the command is forwarded to that slot.