z/OS Open Cryptographic Services Facility Application Programming
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


CSSM_Init

z/OS Open Cryptographic Services Facility Application Programming
SC24-5899-01

Purpose

This function initializes OCSF and verifies that the version of OCSF expected by the application is compatible with the version of OCSF on the system. This function should be called only once by each application.

Format

CSSM_RETURN CSSMAPI CSSM_Init 
                           (const CSSM_VERSION_PTR Version,
                            const CSSM_API_MEMORY_FUNCS_PTR MemoryFuncs,
                            const void * Reserved)

Parameters

Input

Version
The major and minor version number of the OCSF release the application is compatible with.
MemoryFuncs
Memory functions for OCSF to use when allocating data structures for the application.
Reserved
A reserved input.

Return Value

A CSSM_OK return value signifies the initialization operation was successful. When CSSM_FAIL is returned, an error has occurred. Use CSSM_GetError to obtain the error code.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014