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 FunctionsAPI Functions
go to previous page: CSSM_GetContextCSSM_GetContext
go to next page: CSSM_GetKeyAclCSSM_GetKeyAcl
end of book navigation links


CSSM_GetContextAttribute
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CSSM_GetContextAttribute - Get context attribute (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_GetContextAttribute(const CSSM_CONTEXT *Context,uint32 AttributeType,CSSM_CONTEXT_ATTRIBUTE_PTR *ContextAttribute)


return to top LIBRARY  

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


return to top PARAMETERS  

Context (input)
 A pointer to the context.
AttributeType (input)
 The attribute type of the desired attribute value.
ContextAttribute (output)
 The pointer to the CSSM_CONTEXT_ATTRIBUTE that describesthe context attributes associated with the CCHandle handleand the attribute type. The pointer will be set to NULL if the functionfails. Call CSSM_DeleteContextAttributes() to free memory allocated by the CSSM.


return to top DESCRIPTION  

This function returns the value of a context attribute. Contextreferences the cryptographic context to be searched for the attributespecified by AttributeType. If the specifiedattribute is not present, then a NULL pointer is returned.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_DeleteContextAttributes, CSSM_GetContext


go to previous page: CSSM_GetContextCSSM_GetContext
go to next page: CSSM_GetKeyAclCSSM_GetKeyAcl