KRSP_PassPrivFunc
CSSM_RETURN CSSMKRSPI KRSP_PassPrivFunc
(CSSM_PRIV_FUNC_PTR CSSM_SetContextPriv);
This function is used to provide the KRSP with the CSSM_SetContextPriv callback function. This callback is implemented by the CSSM and allows the setting or dropping of the privilege state flag for a given cryptographic context. This is used by the KRSP to make a cryptographic context privileged with respect to key recovery policy enforcement decisions, so that the KRSP itself is allowed to bypass the key recovery policy controls. The KRSP is expected to reset the privilege state flag as soon as the need for the privilege is over.
- CSSM_SetContextPriv (input)
The callback that is used by the KRSP to set or drop the privilege state flag for a given cryptographic context.
A CSSM return value. This function returns CSSM_OK if successful and returns an error code if an error has occurred.
- CSSM_MEMORY_ERROR
Not enough memory.
Contents | Next section | Index |