CL_FreeFields(3)CL_FreeFields(3)NAME
CL_FreeFields, CSSM_CL_FreeFields - Free fields (CDSA)
SYNOPSIS
# include <cdsa/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)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
The handle that describes the add-in Certificate Library module used to
perform this function. The length of the array of fields in FieldAr‐
ray. A pointer to an array of CSSM_FIELD structures that need to be
deallocated.
DEFINITIONS
This function frees the fields in the FieldArray by freeing 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 values
returned from calls CSSM_TP_CertGetAllTemplateFields(), CSSM_CL_CertGe‐
tAllTemplateFields(), CSSM_CL_CertGetAllFields(), CSSM_CL_CrlGetAll‐
Fields(), CSSM_CL_CrlGetAllCachedRecordFields(), or their SPI equiva‐
lent calls.
RETURN VALUE
A CSSM_RETURN value indicating success or specifying a particular error
condition. The value CSSM_OK indicates success. All other values repre‐
sent an error condition.
ERRORS
Errors are described in the CDSA technical standard. See
CDSA_intro(3).
None specific to this call.
SEE ALSO
Intel CDSA Application Developer's Guide (see CDSA_intro(3))
CL_FreeFields(3)