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


CSSM_CL_CrlRemoveCert

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

Purpose

This function reinstates a certificate by removing it from the specified CRL. The operation is valid only if the CRL has not been closed by the process of signing the CRL using the function CSSM_CL_CrlSign. Once the CRL has been signed, entries can not be added or removed.

Format

CSSM_DATA_PTR CSSMAPI CSSM_CL_CrlRemoveCert
                       (CSSM_CL_HANDLE CLHandle,
                       const CSSM_DATA_PTR Cert,
                       const CSSM_DATA_PTR OldCrl)

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 to be reinstated.
OldCrl
A pointer to the CSSM_DATA structure containing the CRL from which the certificate is to be removed.

Return Value

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

Related Information

CSSM_CL_CrlAddCert

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014