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


CSSM_CL_CrlCreateTemplate

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

Purpose

This function creates an unsigned, memory-resident CRL. Fields in the CRL are initialized with the descriptive data specified by the OID/value input pairs. The specified OID/value pairs can initialize all or a subset of the general attribute fields in the new CRL. Subsequent values may be set using the CSSM_CL_CrlSetFieldValues operation. The new CRL contains no revocation records.

Format

CSSM_DATA_PTR CSSMAPI CSSM_CL_CrlCreateTemplate
                 (CSSM_CL_HANDLE CLHandle,
                 const CSSM_FIELD_PTR CrlTemplate, 
                 uint32 NumberOfFields)

Parameters

Input

CLHandle
The handle that describes the CL module used to perform this function.
CrlTemplate
An array of OID/value pairs specifying the initial values for descriptive data fields of the new CRL.
NumberOfFields
The number of OID/value pairs specified in the CrlTemplate input parameter.

Return Value

A pointer to the CSSM_DATA structure containing the new CRL. If the pointer is NULL, an error has occurred. Use CSSM_GetError to obtain the error code.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014