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


CSSM_UpdateContextAttribute

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

Purpose

This function updates the security context. When an attribute is already present in the context, this update operation replaces the previously defined attribute with the current attribute. On z/OS, this call can be made only when no other thread is using the original context or the copy returned by CSSM_GetContext.

Format

CSSM_RETURN CSSMAPI CSSM_UpdateContextAttributes 
               (CSSM_CC_HANDLE CCHandle,
               uint32 NumberAttributes,
               const CSSM_CONTEXT_ATTRIBUTE_PTR ContextAttributes)

Parameters

Input

CCHandle
The handle to the context.
NumberAttributes
The number of CSSM_CONTEXT_ATTRIBUTE structures to allocate.
ContextAttributes
Pointer to data that describes the attributes to be associated with this context.

Return Value

CSSM_OK if the function was successful. CSSM_FAIL if an error occurred. Use CSSM_GetError to determine the exact error.

Related Information

CSSM_GetContextAttribute

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014