|
|
Library Description Errors | Parameters Return Value See Also |
API:CSSM_RETURN CSSMAPI CSSM_CL_IsCertInCachedCrl(CSSM_CL_HANDLE CLHandle,const CSSM_DATA *Cert,CSSM_HANDLE CrlHandle,CSSM_BOOL *CertFound,CSSM_DATA_PTR CrlRecordIndex)SPI:CSSM_RETURN CSSMCLI CL_IsCertInCachedCrl(CSSM_CL_HANDLE CLHandle,const CSSM_DATA *Cert,CSSM_HANDLE CrlHandle,CSSM_BOOL *CertFound,CSSM_DATA_PTR CrlRecordIndex)
cdsa$incssm300_shr.exe
)CLHandle (input) | ||
The handle that describes the add-in CertificateLibrary module used to perform this function. | ||
Cert (input) | A pointer to the CSSM_DATA structure containingan encoded, packed certificate. | |
CrlHandle (input) | ||
A handle identifying a CRL that the applicationhas temporarily cached with the Certificate Library module. Thereferenced CRL is searched for a revocation record matching the specified Cert . | ||
CertFound (output) | ||
A pointer to a CSSM_BOOL indicating success or failurein finding the specified certificate in the CRL. CSSM_TRUE signifiesthat the certificate was found in the CRL. CSSM_FALSE indicatesthat the certificate was not found in the CRL. | ||
CrlRecordIndex (output) | ||
A pointer to a CSSM_DATA structure containing anindex descriptor for direct access to the located CRL record. CrlRecordIndex->Data isallocated by the service provider and must be deallocated by theapplication. |
CertFound
.The CRL and the records within the CRL must be digitally signed.This function does not verify either signature. The caller shoulduse CSSM_TP_CrlVerify()
or CSSM_CL_CrlVerify()
(or their SPI equivalents) before invoking this function.Once the CRL has been verified, the caller can invoke this functionrepeatedly without repeating the verification process.If the certificate is found in the CRL, the CL module returnsan index descriptor CrlRecordIndex
for use withother Certificate Library CRL functions. The index provides moredirect access to the selected CRL record.
CSSMERR_CL_INVALID_CERT_POINTERCSSMERR_CL_UNKNOWN_FORMATCSSMERR_CL_INVALID_CACHE_HANDLE
Intel CDSA Application Developer's Guide
Functions for the CSSM API:
CSSM_CL_CrlGetFirstCachedFieldValue, CSSM_CL_CrlGetNextCachedFieldValue, CSSM_CL_CrlGetAllCachedRecordField, CSSM_CL_CrlCache, CSSM_CL_CrlAbortCache
Functions for the CLI SPI:
CL_CrlGetFirstCachedFieldValue, CL_CrlGetNextCachedFieldValue, CL_CrlGetAllCachedRecordField, CL_CrlCache, CL_CrlAbortCache
|
|