Previous section.

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

NAME

CSSM_GetContextAttribute

SYNOPSIS

CSSM_CONTEXT_ATTRIBUTE_PTR CSSMAPI CSSM_GetContextAttribute
    (const CSSM_CONTEXT_PTR Context,
    uint32 AttributeType)

DESCRIPTION

This function retrieves the context attributes information for the given context and attribute type.

PARAMETERS

Context (input)

A pointer to the context.

AttributeType (input)

The attribute type of the desired attribute value.

RETURN 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.

ERRORS

CSSM__INVALID_CONTEXT_HANDLE

Invalid context handle.

SEE ALSO

CSSM_DeleteContextAttributes, CSSM_GetContext

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