Previous section.

Common Security: CDSA and CSSM
Copyright © 1997 The Open Group

NAME

CSSM_UpdateContextAttributes

SYNOPSIS

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

DESCRIPTION

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.

PARAMETERS

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.

RETURN VALUE

A CSSM return value. This function returns CSSM_OK if successful, and returns an error code if an error has occurred.

ERRORS

CSSM__INVALID_CONTEXT_HANDLE

Invalid context handle.

CSSM__INVALID_POINTER

Invalid pointer to attributes.

CSSM__MEMORY_ERROR

Internal Memory Error.

SEE ALSO

CSSM_GetContextAttribute, CSSM_DeleteContextAttributes

Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.
You should also read the legal notice explaining the terms and conditions relating to the CDSA documentation.

Contents Next section Index