DEVICE DRIVERS
iPS_DeleteKeys()
M
X
800 SERIES PROGRAMMERS GUIDE 59
iPS_DeleteKeys()
This function deletes the specified set of keys.
Prototype
int iPS_DeleteKeys (unsigned long ulKeyType)
Parameters
For instance, iPS_DeleteKeys(DEL_VSS2 | DEL_VSS3) deletes only keys
belonging to the Security Scripts loaded in slot #2 and #3.
Return Values
ulKeyType Indicates which set of keys are to be erased. Each bit corresponds
to a set of keys, meaning that several sets can be erased in one
function call.
0 Successful execution
E_KM_SYSTEM_ERROR
DEL_SYSTEM System key (VSS_KLK)
DEL_VSS0 Keys associated to VeriShield Security
Script loaded in slot #0
DEL_VSS1 Keys associated to VeriShield Security
Script loaded in slot #1
DEL_VSS2 Keys associated to VeriShield Security
Script loaded in slot #2
DEL_VSS3 Keys associated to VeriShield Security
Script loaded in slot #3
DEL_VSS4 Keys associated to VeriShield Security
Script loaded in slot #4
DEL_VSS5 Keys associated to VeriShield Security
Script loaded in slot #5
DEL_ALL Delete all keys in the unit.