This call creates a key recovery request context based on a KRSP handle (which determines the key recovery mechanism that is in use). The profile for the local party and flag values to signify what kind of key recovery is desired. A handle to the key recovery request context is returned.
CSSM_CC_HANDLE CSSMAPI CSSM_KR_CreateRecoveryRequestContext
(CSSM_KRSP_HANDLE KRSPHandle,
const CSSM_KR_PROFILE_PTR LocalProfile)
A handle to the key recovery context is returned. If the handle is NULL, that signifies that an error has occurred.