Common Data Security Architecture (CDSA) White Paper
How to Create a CDSA Add-In Module for HP-UX
return CSSM_FAIL;
/* Call function */
((RETRV)tmp)((ISL_CALLOUT_DATA *)&key);
tmp = NULL;
if ((i = shl_findsym( (shl_t *)&pImage, “ISL_RetrieveRootIssuerName”,
TYPE_PROCEDURE,
(void *)&tmp ) ) != 0 )
return CSSM_FAIL;
/* Call function */
((RETRV)tmp)((ISL_CALLOUT_DATA *)&signer);
VerifiedCSSMModulePtr = ISL_VerifyLoadedModuleAndCredentials( ConstPathData, ConstSectionData, signer,
key);
if(VerifiedCSSMModulePtr == NULL) return CSSM_FAIL;
/* Make sure CSSM manager really called AddInAuthenticate */
retAddress = (void *)ISL_GetReturnAddress();
islret = ISL_CheckAddressWithinModule( VerifiedCSSMModulePtr, retAddress); if(islret == ISL_FAIL)
{
ISL_RecycleVerifiedModuleCredentials(VerifiedCSSMModulePtr);
62 | Chapter 1 |