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_SPI_ModuleDetachCSSM_SPI_ModuleDetach
go to next page: CSSM_SPI_ModuleUnloadCSSM_SPI_ModuleUnload
end of book navigation links


CSSM_SPI_ModuleLoad
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

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

SYNOPSIS  

# include <cssm.h>

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


return to top LIBRARY  

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


return to top PARAMETERS  

CssmGuid (input)
 The CSSM_GUID of the caller. Used to locate thecaller's signed manifest credentials.
ModuleGuid (input)
 The CSSM_GUID of the invoked service provider module.Used to locate the module's signed manifest credentials.
CssmNotifyCallback (input)
 A function pointer for the CSSM event handler thatmanages events of type CSSM_MODULE_EVENT.
CssmNotifyCallbackCtx (input)
 The context to be returned to CSSM as input on eachcallback to the event handler defined by CssmNotifyCallback.


return to top DESCRIPTION  

This function completes the module initialization processbetween CSSM and the add-in service module. Before invoking thisfunction, 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 callerand should be used by the module to locate the caller's signed manifestcredentials and to complete integrity verification and secure linkagechecks on the caller. The ModuleGuid identifiesthe invoked module and should be used by the module to locate itscredentials and to complete an integrity self-check.

The CssmNotifyCallback and CssmNotifyCallbackCtx parametersdefine a callback and callback context respectively. The modulemust retain this information for later use. The module should usethe callback to notify CSSM of module events of type CSSM_MODULE_EVENTin any ongoing, attached sessions.


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.


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_SPI_ModuleAttach, CSSM_SPI_ModuleUnload


go to previous page: CSSM_SPI_ModuleDetachCSSM_SPI_ModuleDetach
go to next page: CSSM_SPI_ModuleUnloadCSSM_SPI_ModuleUnload