CSSM_UpdateContextAttributes(3)CSSM_UpdateContextAttributes(3)NAMECSSM_UpdateContextAttributes - Update context attribute values (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
CSSM_RETURN CSSMAPI CSSM_UpdateContextAttributes (CSSM_CC_HANDLE CCHan‐
dle, uint32 NumberOfAttributes, const CSSM_CONTEXT_ATTRIBUTE *Contex‐
tAttributes)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
The handle to the existing context. The number of CSSM_CON‐
TEXT_ATTRIBUTE structures to allocate. Pointer to data that describes
the attributes to be associated with this context.
DESCRIPTION
This function updates one or more context attribute values stored as
part of an existing context specified by CCHandle. The basic context
structure is not modified by this function. Only the context attributes
are updated.
The NumberOfAttributes parameter specifies the number of attributes to
update. The new attribute values are specified in ContextAttributes. If
an attribute provided in ContextAttributes is already present in the
existing context, the existing value is replaced by the new value. If
an attribute provided in ContextAttributes is not present in the exist‐
ing context, then the new attribute is added. Attribute values are
never deleted from the existing context.
RETURN VALUE
A CSSM_RETURN value indicating success or specifying a particular error
condition. The value CSSM_OK indicates success. All other values repre‐
sent an error condition.
ERRORS
Errors are described in the CDSA technical standard. See
CDSA_intro(3). CSSMERR_CSSM_INVALID_CONTEXT_HANDLE CSS‐
MERR_CSSM_INVALID_ATTRIBUTE
SEE ALSO
Books
Intel CDSA Application Developer's Guide (see CDSA_intro(3))
Reference Pages
Functions: CSSM_DeleteContextAttributes(3), CSSM_GetContextAttribute(3)CSSM_UpdateContextAttributes(3)