CSSM_CL_CertGetAllFields
CSSM_FIELD_PTR CSSMAPI CSSM_CL_CertGetAllFields
(CSSM_CL_HANDLE CLHandle,
CSSM_DATA_PTR Cert,
uint32 *NumberOfFields)
This function returns a list of the values stored in the input certificate.
- CLHandle (input)
The handle that describes the add-in certificate library module used to perform this function.
- Cert (input)
A pointer to the CSSM_DATA structure containing the certificate whose fields will be returned.
- NumberOfFields (output)
The length of the returned array of fields.
A pointer to an array of CSSM_FIELD structures which contain the values of all of the fields of the input certificate. If the pointer is NULL, an error has occurred. Use CSSM_GetError to obtain the error code.
- CSSM_CL_INVALID_CL_HANDLE
Invalid handle.
- CSSM_CL_INVALID_DATA_POINTER
Invalid DATA pointer.
- CSSM_CL_MEMORY_ERROR
Error allocating memory.
- CSSM_CL_CERT_GET_FIELD_VALUE_FAIL
Unable to return the list of fields.
CSSM_CL_CertGetFirstFieldValue, CSSM_CL_CertDescribeFormat
Contents | Next section | Index |