CSSM_KR_CreateRecoveryRegistrationContext

Purpose

This call creates a key recovery registration context based on a KRSP handle (which determines the key recovery mechanism that is in use). This context may be used for performing registration with Key Recovery Servers (KRSs) and/or Key Recovery Agents (KRAs).

Format

CSSM_CC_HANDLE CSSMAPI CSSM_KR_CreateRecoveryRegistrationContext (CSSM_KRSP_HANDLE KRSPHandle)

Parameters

Input
KRSPHandle
The handle to the KRSP that is used.

Return Value

A handle to the key recovery registration context is returned. If the handle is NULL, that signifies that an error has occurred.