CSSM_UpdateContextAttributes
CSSM_RETURN CSSMAPI CSSM_UpdateContextAttributes
(CSSM_CC_HANDLE CCHandle,
uint32 NumberAttributes,
const CSSM_CONTEXT_ATTRIBUTE_PTR ContextAttributes)
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.
- CCHandle (input)
The handle to the context.
- NumberAttributes (input)
The number of CSSM_CONTEXT_ATTRIBUTE structures to allocate.
- ContextAttributes (input)
Pointer to data that describes the attributes to be associated with this context.
A CSSM return value. This function returns CSSM_OK if successful, and returns an error code if an error has occurred.
- CSSM__INVALID_CONTEXT_HANDLE
Invalid context handle.
- CSSM__INVALID_POINTER
Invalid pointer to attributes.
- CSSM__MEMORY_ERROR
Internal Memory Error.
CSSM_GetContextAttribute, CSSM_DeleteContextAttributes
Contents | Next section | Index |