z/OS Open Cryptographic Services Facility Application Programming
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


CSSM_DeleteContext

z/OS Open Cryptographic Services Facility Application Programming
SC24-5899-01

Purpose

This function frees the context structure allocated by any of the create context functions. On z/OS, this also deletes the context copy that is returned by a CSSM_GetContext call.

Format

CSSM_RETURN CSSMAPI CSSM_DeleteContext (CSSM_CC_HANDLE CCHandle)

Parameters

Input

CCHandle
The handle associated with the context to be deleted.

Return Value

CSSM_OK if the function was successful. CSSM_FAIL if an error condition occurred. Use CSSM_GetError to obtain the error code.

Related Information

CSSM_CSP_CreateKeyGenContext
CSSM_CSP_CreateDigestContext
CSSM_CSP_CreateSymmetricContext
CSSM_CSP_CreateAsymmetricContext
CSSM_CSP_CreateSignatureContext

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014