CSSM_RETURN CSSMAPI CSSM_CL_CertAbortRecovery (CSSM_CL_HANDLE CLHandle, CSSM_HANDLE CacheHandle)
This function terminates the iterative process of recovering certificates and their associated private keys from a cache of certificates. This function must be called even if all certificates and their associated private keys are recovered from the cache. This function destroys all intermediate state and secret information used during the certificate and key recovery process. At completion of this function, the specified cache handle is invalid and the operations CSSM_CL_CertRecover and CSSM_CL_CertKeyRecover cannot be invoked using this handle.
- CLHandle (input)
The handle that describes the add-in certificate library module used to perform this function.
- CacheHandle (input)
A handle which identifies the cache of retrieved, recovered certificates and their associated private keys.
CSSM_OK if the function was successful. CSSM_FAIL if an error condition occurred. Use CSSM_GetError to obtain the error code.
Invalid Certificate Library Handle.
Invalid cache handle.
Unable to abort the recovery process.
CL_CertRecoveryRequest, CSSM_CL_CertRecoveryRetrieve, CSSM_CL_CertRecover, CSM_CL_CertKeyRecover