Common Data Security Architecture (CDSA) White Paper
How to Create a CDSA Add-In Module for HP-UX
These functions use another function, GetModulePath (whose source is also shown for convenience).
All these functions (except ISL_RetrieveSelfCheckKey) are typically put in a file named callouts.c. After callouts.c is compiled, the objects should be placed in the
The ISL_RetrieveSelfCheckKey function is typically placed in a file called public.c. It too should be compiled, and its object placed in the
ISL_RetrieveSelfCheckCredentials This function returns the full path name to the
void ISL_RetrieveSelfCheckCredentials(struct data *Name)
{
uint32 i;
if ((Name == NULL)
i = GetModulePath((char
for (;
{
if (i == 0)
return;
}
/* addInManifestFileName might be libsomecsp.dsa */
if
addInManifestFileName,
strlen(addInManifestFileName));
}
Chapter 1 | 57 |