Common Data Security Architecture (CDSA) White Paper
How to Create a CDSA Add-In Module for HP-UX
GetModulePath Returns the path to the
uint32 GetModulePath(char *szPath, uint32 len)
{
strcpy(szPath,”/usr/lib/cdsa/libadd_in_name.1”); len = strlen(szPath);
return len;
}
ISL_RetrieveSelfCheckSectionName The credential name has the
The section name will be of the
void ISL_RetrieveSelfCheckSectionName(struct data *Name)
{
int i, j, k;
i =
while
/* i Now points to . before extension */
j = i - 1;
while
/* j points to last directory ‘/’ after
k = j - 1;
while
58 | Chapter 1 |