GetSecurityMode

Get the security mode for the slot id given by inputSlotID.

Synopsis

CK_RV GetSecurityMode(CK_SLOT_ID inputSlotId,
CK_SLOT_ID* pAdminSlotId,
CK_FLAGS* pSecMode);
Parameter Description
inputSlotId Slot ID to retrieve the security flags from
pAdminSlotId Location to store the ID of the Admin Slot; Optional - ignored if NULL
pSecMode Location to store the security mode

On Successful Return

* pStringVal — pointer to the returned string value

* pStringValLen — length of the string