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.
CSSM_RETURN CSSMAPI CSSM_UpdateContextAttributes
(CSSM_CC_HANDLE CCHandle,
uint32 NumberAttributes,
const CSSM_CONTEXT_ATTRIBUTE_PTR ContextAttributes)
CSSM_OK if the function was successful. CSSM_FAIL if an error occurred. Use CSSM_GetError to determine the exact error.
CSSM_GetContextAttribute