*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> CSSM_GetContextAttribute (3)              
Title
Content
Arch
Section
 

CSSM_GetContextAttribute(3)

Contents


NAME    [Toc]    [Back]

       CSSM_GetContextAttribute - Get context attribute (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

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

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       A  pointer  to  the  context.   The  attribute type of the
       desired attribute value.  The  pointer  to  the  CSSM_CONTEXT_ATTRIBUTE
 that describes the context attributes associated
 with the CCHandle handle and  the  attribute  type.
       The  pointer  will  be  set to NULL if the function fails.
       Call CSSM_DeleteContextAttributes() to free  memory  allocated
 by the CSSM.

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUE    [Toc]    [Back]

       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.

ERRORS    [Toc]    [Back]

       Errors  are described in the CDSA technical standard.  See
       CDSA_intro(3).  CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT

SEE ALSO    [Toc]    [Back]

      
      
       Books

       Intel   CDSA   Application    Developer's    Guide    (see
       CDSA_intro(3))

       Reference Pages    [Toc]    [Back]

       Functions:  CSSM_DeleteContextAttributes(3),  CSSM_GetContext(3)



                                      CSSM_GetContextAttribute(3)
[ Back ]
 Similar pages
Name OS Title
CSSM_UpdateContextAttributes Tru64 Update context attribute values (CDSA)
CSSM_WrapKey Tru64 Wrap a key using the context (CDSA)
CSSM_GetContext Tru64 Get context information (CDSA)
CSP_WrapKey Tru64 Wrap a key using the context (CDSA)
WrapKey Tru64 Wrap a key using the context (CDSA)
CSSM_DeleteContext Tru64 Free the context structure (CDSA)
CSSM_SetContext Tru64 Replace all context information (CDSA)
MDS_Initialize Tru64 Initiate service context with MDS (CDSA)
MDS_Terminate Tru64 Terminate the MDS service context (CDSA)
CSSM_CSP_CreatePassThroughContext Tru64 Create a custom cryptographic context (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service