CSSM_CL_CrlCreateTemplate
CSSM_DATA_PTR CSSMAPI CSSM_CL_CrlCreateTemplate
(CSSM_CL_HANDLE CLHandle,
const CSSM_FIELD_PTR CrlTemplate,
uint32 NumberOfFields);
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_CrlSetFields operation. The new CRL contains no revocation records.
- CLHandle (input)
The handle that describes the add-in certificate library module used to perform this function.
- CrlTemplate (input)
An array of OID/value pairs specifying the initial values for descriptive data fields of the new CRL.
- NumberOfFields (input)
The number of OID/value pairs specified in the CrlTemplate input parameter.
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.
- CSSM_CL_INVALID_CL_HANDLE
Invalid CL handle.
- CSSM_CL_INVALID_FIELD_POINTER
Invalid pointer input.
- CSSM_CL_INVALID_TEMPLATE
Invalid template for this CRL type.
- CSSM_CL_MEMORY_ERROR
Not enough memory.
- CSSM_CL_UNSUPPORTED_OPERATION
Add-in does not support this function.
- CSSM_CL_CRL_CREATE_FAIL
Unable to create CRL.
CSSM_CL_CrlSetFields, CSSM_CL_CrlAddCert, CSSM_CL_CrlSign, CSSM_CL_CertGetFirstFieldValue
Contents | Next section | Index |