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_DATA

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

The CSSM_DATA structure is used to associate a length, in bytes, with an arbitrary block of contiguous memory. This memory must be allocated and freed using the memory management routines provided by the calling application via OCSF. Trust Policy (TP) modules and Certificate Libraries (CLs) use this structure to hold certificates and Certificate Revocation Lists (CRLs). Other service provider modules, such as Cryptographic Service Providers (CSPs), use this same structure to hold general data buffers. Data Storage Library (DL) modules use this structure to hold persistent security-related objects.

typedef struct cssm_data{
    uint32 Length;/* in bytes */
    uint8 *Data;
} CSSM_DATA, *CSSM_DATA_PTR 

Definitions:

Length
Length of the data buffer in bytes.
Data
Points to the start of an arbitrary length data buffer

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014