z/OS Open Cryptographic Services Facility Service Provider Module Developer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CSSM_MODULE_FUNCS

z/OS Open Cryptographic Services Facility Service Provider Module Developer's Guide and Reference
SC14-7514-00

This structure is used by service provider modules to pass a table of function pointers for a single service to OCSF.

typedef struct cssm_module_funcs {
    CSSM_SERVICE_TYPE ServiceType;
    union {
        void *ServiceFuncs;
        CSSM_SPI_CSP_FUNCS_PTR CspFuncs;
        CSSM_SPI_DL_FUNCS_PTR  DlFuncs;
        CSSM_SPI_CL_FUNCS_PTR  ClFuncs;
        CSSM_SPI_TP_FUNCS_PTR  TpFuncs;
        CSSM_SPI_KRSP_FUNCS_PTR KrspFuncs;
        };
} CSSM_MODULE_FUNCS, *CSSM_MODULE_FUNCS_PTR; 

Definitions:

ServiceType
The type of service provider module services accessible via the XXFuncs function table.
XXFuncs
A pointer to a function table of the type described by ServiceType. These function pointers are used by OCSF to direct function calls from an application to the appropriate service in the service provider module. These function pointer tables are described in the OCSF header files cssmcspi.h, cssmkrspi.h, &tab;cssmdli.h, cssmcli.h, and cssmtpi.h. Table 1 provides the service access tables.
Table 1. Service Access Tables
Value Description
CSSM_SPI_CSP_FUNCS_PTR CspFuncs Function pointers to CSP services
CSSM_SPI_KRSP_FUNCS_PTR KrspFuncs Function pointers to KR services
Note: This is not supported in z/OS.
CSSM_SPI_DL_FUNCS_PTR DlFuncs Function pointers to DL services
CSSM_SPI_CL_FUNCS_PTR ClFuncs Function pointers to CL services
CSSM_SPI_TP_FUNCS_PTR TpFuncs Function pointers to TP services

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014