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


CSSM_CL_CertGetAllFields

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

Purpose

This function returns a list of the values stored in the input certificate.

Format

CSSM_FIELD_PTR CSSMAPI CSSM_CL_CertGetAllFields
                  (CSSM_CL_HANDLE CLHandle,
                  const CSSM_DATA_PTR Cert,
                  uint32 *NumberOfFields)

Parameters

Input

CLHandle
The handle that describes the CL module used to perform this function.
Cert
A pointer to the CSSM_DATA structure containing the certificate whose fields will be returned.

Output

NumberOfFields
The length of the returned array of fields.

Return Value

A pointer to an array of CSSM_FIELD structures that 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.

Related Information

CSSM_CL_CertGetFirstFieldValue
CSSM_CL_CertDescribeFormat
CSSM_CL_CertView

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014