CSSM_GetContextAttribute
CSSM_CONTEXT_ATTRIBUTE_PTR CSSMAPI CSSM_GetContextAttribute
(const CSSM_CONTEXT_PTR Context,
uint32 AttributeType)
This function retrieves the context attributes information for the given context and attribute type.
- Context (input)
A pointer to the context.
- AttributeType (input)
The attribute type of the desired attribute value.
The pointer to the CSSM_ATTRIBUTE structure that describes the context attributes associated with the handle CCHandle and the attribute type. If the pointer is NULL, an error has occurred. Use CSSM_GetError to obtain the error code. Call the CSSM_DeleteContextAttributes to free memory allocated by the CSSM.
- CSSM__INVALID_CONTEXT_HANDLE
Invalid context handle.
CSSM_DeleteContextAttributes, CSSM_GetContext
Contents | Next section | Index |