Common Data Security Architecture (CDSA) White Paper
How to Create a CDSA Add-In Module for HP-UX
How to Create a CDSA Add-In Module for
HP-UX
This section summarizes the steps involved in creating a CDSA
By convention, the CDSA
1.Create a global unique identifier (GUID) for the
Example:
Issue the following from the command line: #/usr/bin/uuidgen
Output will resemble the following:
= { /*
0x714ed4ea, 0x15d8, 0x11d2, 0x9b, 0xe7,
{ 0x00, 0x60, 0xb0, 0xb6, 0xe6, 0x55 }
}
The
CSSM_GUID my_addin_guid =
{ /*
0x714ed4ea, 0x15d8, 0x11d2, {0x9b, 0xe7, 0x00, 0x60, 0xb0, 0xb6, 0xe6, 0x55}
};
Then my_addin_guid can be used whenever a GUID is needed; for example:
•when you register the module to CSSM, pass &my_addin_guid to CSSM_RegisterServices().
•when you install the module, pass &my_addin_guid to CSSM_ModuleInstall().
•when you attach the module, pass &my_addin_guid to CSSM_ModuleAttach().
Chapter 1 | 53 |