CL_CertGetAllFields(3)CL_CertGetAllFields(3)NAME
CL_CertGetAllFields, CSSM_CL_CertGetAllFields - Return a list of input
certificate values (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
API: CSSM_RETURN CSSMAPI CSSM_CL_CertGetAllFields (CSSM_CL_HANDLE
CLHandle, const CSSM_DATA *Cert, uint32 *NumberOfFields, CSSM_FIELD_PTR
*FieldList) SPI: CSSM_RETURN CSSMCLI CL_CertGetAllFields (CSSM_CL_HAN‐
DLE CLHandle, const CSSM_DATA *Cert, uint32 *NumberOfFields,
CSSM_FIELD_PTR *FieldList)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
The handle that describes the add-in certificate library module used to
perform this function. A pointer to the CSSM_DATA structure containing
the certificate whose fields will be returned. The length of the
returned array of fields. A pointer to an array of CSSM_FIELD struc‐
tures that contain the values of all fields of the input certificate.
The field list is allocated by the service provider and must be deallo‐
cated by the application by calling CSSM_CL_FreeFields() (CSSM API), or
CL_FreeFields() (CL SPI).
DESCRIPTION
This function returns a list of the values stored in the input certifi‐
cate.
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). CSSMERR_CL_INVALID_CERT_POINTER CSSMERR_CL_UNKNOWN_FOR‐
MAT
SEE ALSO
Books
Intel CDSA Application Developer's Guide (see CDSA_intro(3))
Reference Pages
For the CSSM API: CSSM_CL_CertGetFirstFieldValue(3), CSSM_CL_CertDe‐
scribeFormat(3), CSSM_CL_FreeFields(3)
For the CLI SPI: CL_CertGetFirstFieldValue(3), CL_CertDescribeFor‐
mat(3), CL_FreeFields(3)CL_CertGetAllFields(3)