skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API FunctionsAPI Functions
go to previous page: CL_CrlVerifyWithKeyCL_CrlVerifyWithKey
go to next page: CL_FreeFieldValueCL_FreeFieldValue
end of book navigation links


CL_FreeFields
Library
Definitions
Errors
 Parameters
Return Value
See Also

NAME

CL_FreeFields: CSSM_CL_FreeFields - Free fields (CDSA)

SYNOPSIS  

# include <cssm.h>

API:CSSM_RETURN CSSMAPI CSSM_CL_FreeFields(CSSM_CL_HANDLE CLHandle,uint32 NumberOfFields,CSSM_FIELD_PTR *FieldArray)SPI:CSSM_RETURN CSSMCLI CL_FreeFields(CSSM_CL_HANDLE CLHandle,uint32 NumberOfFields,CSSM_FIELD_PTR *FieldArray)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CLHandle (input)
 The handle that describes the add-in CertificateLibrary module used to perform this function.
NumberOfFields (input)
 The length of the array of fields in FieldArray.
FieldArray (input)
 A pointer to an array of CSSM_FIELD structures thatneed to be deallocated.


return to top DEFINITIONS  

This function frees the fields in the FieldArray byfreeing the data pointers for both the FieldOid and FieldValue fields.It also frees the top level FieldArray pointer.

This function should be used only to free CSSM_FIELD_PTR valuesreturned from calls CSSM_TP_CertGetAllTemplateFields(), CSSM_CL_CertGetAllTemplateFields(), CSSM_CL_CertGetAllFields(), CSSM_CL_CrlGetAllFields(), CSSM_CL_CrlGetAllCachedRecordFields(), or their SPI equivalent calls.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.

None specific to this call.


return to top SEE ALSO  

Intel CDSA Application Developer's Guide
go to previous page: CL_CrlVerifyWithKeyCL_CrlVerifyWithKey
go to next page: CL_FreeFieldValueCL_FreeFieldValue