GetSecurityMode

Synopsis

CK_RV GetSecurityMode(CK_SLOT_ID inputSlotId,
CK_SLOT_ID* pAdminSlotId,
CK_FLAGS* pSecMode);

Description

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

Parameters

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