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

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

CSSM_SPI_ModuleLoad(3)

Contents


NAME    [Toc]    [Back]

       CSSM_SPI_ModuleLoad  - Initialize process between CSSM and
       the add-in service module (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       CSSM_RETURN CSSMSPI CSSM_SPI_ModuleLoad  (const  CSSM_GUID
       *CssmGuid,   const  CSSM_GUID  *ModuleGuid,  CSSM_SPI_ModuleEventHandler
 CssmNotifyCallback, void*  CssmNotifyCallbackCtx)


LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The  CSSM_GUID  of the caller. Used to locate the caller's
       signed manifest credentials.  The CSSM_GUID of the invoked
       service  provider  module.  Used  to  locate  the module's
       signed manifest credentials.  A function pointer  for  the
       CSSM  event  handler that manages events of type CSSM_MODULE_EVENT.
  The context to be returned to CSSM as input on
       each  callback to the event handler defined by CssmNotifyCallback.

DESCRIPTION    [Toc]    [Back]

       This function completes the module initialization  process
       between  CSSM and the add-in service module. Before invoking
 this function, CSSM verifies the add-in  service  module's
 manifest credentials. If the credentials verify this
       module   is   loaded   (physically   if   required),   the
       CSSM_SPI_ModuleLoad() function is invoked.

       The CssmGuid parameter identifies the caller and should be
       used by the module to locate the caller's signed  manifest
       credentials  and  to  complete  integrity verification and
       secure linkage checks on the caller.  The ModuleGuid identifies
 the invoked module and should be used by the module
       to locate its credentials and  to  complete  an  integrity
       self-check.

       The  CssmNotifyCallback  and CssmNotifyCallbackCtx parameters
 define a callback and callback context  respectively.
       The module must retain this information for later use. The
       module should use the callback to notify  CSSM  of  module
       events  of type CSSM_MODULE_EVENT in any ongoing, attached
       sessions.

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





SEE ALSO    [Toc]    [Back]

      
      
       Books

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

       Reference Pages    [Toc]    [Back]

       Functions:  CSSM_SPI_ModuleAttach(3),   CSSM_SPI_ModuleUnload(3)



                                           CSSM_SPI_ModuleLoad(3)
[ Back ]
 Similar pages
Name OS Title
CSSM_Init Tru64 Initialize CSSM (CDSA)
vm_map_init FreeBSD initialize a vm_map structure for process zero
CSSM_Terminate Tru64 Terminate the use of CSSM (CDSA)
CSSM_GetPrivilege Tru64 Get CSSM privilege value (CDSA)
DeregisterDispatchTable Tru64 Invalidate CSSM pointers to EMM (CDSA)
RegisterDispatchTable Tru64 Provide the EMM with CSSM function pointers (CDSA)
CSSM_SetPrivilege Tru64 Store privilege value in CSSM framework (CDSA)
CSSM_SPI_ModuleUnload Tru64 Disable events and deregister CSSM event notification (CDSA)
getpid HP-UX get process, process group and parent process ID.
getpgrp Tru64 Get the process ID, process group ID, or parent process ID
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service