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_ReleaseAttachFunctions cssm_ReleaseAttachFunctions
go to next page: CSSM_SetPrivilegeCSSM_SetPrivilege
end of book navigation links


CSSM_SetContext
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CSSM_SetContext - Replace all context information (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_SetContext
(CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT *Context)


return to top LIBRARY  

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


return to top PARAMETERS  

CCHandle (input)
 The handle to the context.
Context (input)
 The context data describing the service to replace the current service associated with context handle CCHandle.


return to top DESCRIPTION  

This function replaces all context information associated with an existing context specified by CCHandle. The contents of the basic context structure and all attributes included in that structure are replaced by the context structure and attribute values contained in the Context input parameter.


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_ATTRIBUTE
CSSMERR_CSSM_INVALID_CONTEXT_HANDLE


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_GetContext


go to previous page: cssm_ReleaseAttachFunctions cssm_ReleaseAttachFunctions
go to next page: CSSM_SetPrivilegeCSSM_SetPrivilege