skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API Functions API Functions
go to previous page: CSSM_Unintroduce CSSM_Unintroduce
go to next page: DecryptDataDecryptData
end of book navigation links


CSSM_UpdateContextAttributes
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CSSM_UpdateContextAttributes - Update context attribute values (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_UpdateContextAttributes
(CSSM_CC_HANDLE CCHandle,
uint32 NumberOfAttributes,
const CSSM_CONTEXT_ATTRIBUTE *ContextAttributes)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CCHandle (input)
 The handle to the existing context.
NumberOfAttributes (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.


return to top 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 existing context, then the new attribute is added. Attribute values are never deleted from the existing context.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CSSM_INVALID_CONTEXT_HANDLE
CSSMERR_CSSM_INVALID_ATTRIBUTE


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_DeleteContextAttributes, CSSM_GetContextAttribute


go to previous page: CSSM_Unintroduce CSSM_Unintroduce
go to next page: DecryptDataDecryptData