This structure holds a description of a module service. The service
described is of the OCSF service type specified by the module type.
typedef struct cssm_serviceinfo {
CSSM_STRING Description; /* Service description */
CSSM_SERVICE_TYPE Type; /* Service type */
CSSM_SERVICE_FLAGS Flags; /*Service flags */
uint32 NumberOfSubServices; /* Number of sub services in SubServiceList */
union {
void *SubServiceList;
CSSM_CSPSUBSERVICE_PTR CspSubServiceList;
CSSM_DLSUBSERVICE_PTR DlSubServiceList;
CSSM_CLSUBSERVICE_PTR ClSubServiceList;
CSSM_TPSUBSERVICE_PTR TpSubServiceList;
CSSM_KRSUBSERVICE_PTR KrSubServiceList;
};
void *Reserved;
} CSSM_SERVICE_INFO, *CSSM_SERVICE_INFO_PTR;
Definitions:
- Description
- A text description of the service.
- Type
- Specifies exactly one type of service structure, such as CSSM_SERVICE_CSP, &tab;CSSM_SERVICE_CL,
etc.
- Flags
- Characteristics of this service, such as whether it contains
any embedded products.
- NumberOfSubServices
- The number of elements in the module SubServiceList.
- SubServiceList
- A list of descriptions of the encapsulated subservices (not
of the basic service types).
- CspSubServiceList
- A list of descriptions of the encapsulated CSP subservices.
- DlSubServiceList
- A list of descriptions of the encapsulated DL subservices.
- ClSubServiceList
- A list of descriptions of the encapsulated CL subservices.
- TpSubServiceList
- A list of descriptions of the encapsulated TP subservices.
- KrSubServiceList1
- A list of descriptions of the encapsulated key recovery subservices.
- Reserved
- This field is reserved for future use. It should always be set
to NULL.