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


CSSM_CompareGuids

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

Purpose

This function determines if two GUIDs are equal.

Format

CSSM_BOOL CSSMAPI CSSM_CompareGuids (CSSM_GUID GUID1,CSSM_GUID GUID2)

Parameters

Input

GUID1
A GUID.
GUID2
A GUID.

Return Value

CSSM_TRUE if the two GUIDs are equal, CSSM_FALSE if they are not equal.

Notes

GUIDs are returned in the error information of CSSM_GetError. Once you know which type of error is returned (i.e., CSP, CL, TP, DL), you can call CSSM_ListModules to get a list of all the modules that are registered and their GUIDs in order to determine which module set the error. This can be useful for debugging purposes if there is more than one type of module for each type installed on the system.

Related Information

CSSM_GetError
CSSM_ListModules

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014