CSSM_CL_CrlSetFields
CSSM_DATA_PTR CSSMAPI CSSM_CL_CrlSetFields
(CSSM_CL_HANDLE CLHandle,
const CSSM_FIELD_PTR CrlTemplate,
uint32 NumberOfFields,
const CSSM_DATA_PTR OldCrl);
This function will set the fields of the input CRL to the new values, specified by the input OID/value pairs. If there is more than one possible instance of an OID (for example, as in an extension or CRL record) then a NEW field with the specified value is added to the CRL.
- CLHandle (input)
The handle that describes the add-in certificate library module used to perform this function.
- CrlTemplate (input)
Any array of field OID/value pairs containing the values to initialize the CRL attribute fields.
- NumberOfFields (input)
The number of OID/value pairs specified in the CrlTemplate input parameter.
- OldCrl (input)
The CRL to be updated with the new attribute values. The CRL must be unsigned and available for update.
A pointer to the modified, unsigned 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_SET_FAIL
Unable to set CRL field values.
CSSM_CL_CrlCreateTemplate, CSSM_CL_CrlAddCert, CSSM_CL_CrlSign, CSSM_CL_CertGetFirstFieldValue
Contents | Next section | Index |