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


AC_PassThrough
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

AC_PassThrough: CSSM_AC_PassThrough - Call exported module-specific operations (CDSA)

SYNOPSIS  

# include <cssm.h>

API:CSSM_RETURN CSSMAPI CSSM_AC_PassThrough(CSSM_AC_HANDLE ACHandle,CSSM_TP_HANDLE TPHandle,CSSM_CL_HANDLE CLHandle,CSSM_CC_HANDLE CCHandle,const CSSM_DL_DB_LIST *DBList,uint32 PassThroughId,const void *InputParams,void **OutputParams) SPI:CSSM_RETURN CSSMACI AC_PassThrough(CSSM_AC_HANDLE ACHandle,CSSM_TP_HANDLE TPHandle,CSSM_CL_HANDLE CLHandle,CSSM_CC_HANDLE CCHandle,const CSSM_DL_DB_LIST *DBList,uint32 PassThroughId,const void *InputParams,void **OutputParams)


return to top LIBRARY  

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


return to top PARAMETERS  

ACHandle (input)
 The handle that describes the authorization computationmodule used to perform this function.
TPHandle (input/optional)
 The handle that describes the trust policy modulethat can be used by the authorization computation service to implementthis function. If no trust policy module is specified, the AC moduleuses an assumed TP module, if required.
CLHandle (input/optional)
 The handle that describes the add-in certificatelibrary module that can be used to manipulate the subject certificateand anchor certificates. If no certificate library module is specified,the AC module uses an assumed CL module, if required.
CCHandle (input/optional)
 The handle that describes the cryptographic contextcontaining a handle that describes the add-in Cryptographic ServiceProvider module that can be used to perform cryptographic operationsas required to perform the requested operation. If no cryptographiccontext is specified, the AC module uses an assumed cryptographiccontext and CSP module, if required.
DBList (input/optional)
 A list of handle pairs specifying a data storagelibrary module and a data store managed by that module. These datastores can contain certificates, CRLs, and policy objects for useby the AC module. If no DL and DB handle pairs are specified, theAC module uses an assumed DL module and an assumed data store forthis operation.
PassThroughId (input)
 An identifier assigned by the AC module to indicatethe exported function to perform.
InputParams (input)
 A pointer to a module, implementation-specific structurecontaining parameters to be interpreted in a function-specific mannerby the requested AC module. If the passthrough functionrequires access to a private key located in the CSP referenced by CSPHandle,then InputParams should contain a passphrase,or a callback or cryptographic context that can be used to obtainthe passphrase.
OutputParams (output/optional)
 A pointer to a module, implementation-specific structurecontaining the output data. The service provider will allocate thememory for this structure. The application must free the memoryfor the structure.


return to top DESCRIPTION  

This function allows applications to call authorization computationmodule-specific operations that have been exported. Such operationsmight include queries or services specific to the domain representedby the AC module.


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


return to top SEE ALSO  

Intel CDSA Application Developer's Guide
go to previous page: AC_AuthComputeAC_AuthCompute
go to next page: CL_CertAbortCacheCL_CertAbortCache