CSSM_RETURN CSSMKRSPI KRSP_RegistrationRetrieve (CSSM_KRSP_HANDLE KRSPHandle, CSSM_HANDLE_PTR ReferenceHandle, uint32 *EstimatedTime, CSSM_KR_PROFILE_PTR KRProfile)
This function completes a key recovery registration operation. The results of a successful registration operation are returned through the KRProfile parameter, which may be used with the profile management API functions.
If the results are not available when this function is invoked, the KRProfile parameter is set to NULL, and the EstimatedTime parameter indicates when this operation should be repeated with the same ReferenceHandle.
- KRSPHandle (input)
The handle that describes the add-in key recovery service provider module used to perform up calls to CSSM for the memory functions managed by CSSM.
- ReferenceHandle (input)
The handle to the key recovery registration request that is to be completed.
- EstimatedTime (output)
The estimated time after which this call should be repeated to obtain registration results. This is set to a non-zero value only when the KRProfile parameter is NULL.
- KRProfile (input/output)
Key recovery profile that is filled in by the registration operation.
A CSSM return value. This function returns CSSM_OK if successful and returns an error code if an error has occurred.
Invalid reference handle.