HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API FunctionsUnwrapKeyP
SYNOPSIS# include <cssm.h>
PARAMETERS
See CSSM_UnwrapKey. DESCRIPTIONThis function is similar to CSSM_UnwrapKey(). It also accepts a USEE tag as a privilege request parameter. CSSM checks that either its own privilege set or the Application's privilege set (if the Application is signed) includes the tag. If the tag is found and the service provider privilege set indicates that it is supported, the tag is forwarded to the service provider. NOTESThe KeyData field of the CSSM_KEY structure is allocated by the CSP. The application is required to free this memory using the CSSM_FreeKey() function or with the memory functions registered for the CSPHandle. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. |