skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API FunctionsAPI Functions
go to previous page: CL_CrlAddCertCL_CrlAddCert
go to next page: CL_CrlCreateTemplateCL_CrlCreateTemplate
end of book navigation links


CL_CrlCache
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CL_CrlCache: CSSM_CL_CrlCache - Cache a copy of a certificate revocation list (CDSA)

SYNOPSIS  

# include <cssm.h>

API:CSSM_RETURN CSSMAPI CSSM_CL_CrlCache(CSSM_CL_HANDLE CLHandle,const CSSM_DATA *Crl,CSSM_HANDLE_PTR CrlHandle)SPI:CSSM_RETURN CSSMCLI CL_CrlCache(CSSM_CL_HANDLE CLHandle,const CSSM_DATA *Crl,CSSM_HANDLE_PTR CrlHandle)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CLHandle (input)
 The handle that describes the certificate librarymodule used to perform this function.
Crl (input) A pointer to the CSSM_DATA structure containingthe encoded CRL.
CrlHandle (output)
 A pointer to the CSSM_HANDLE that should be usedin all future references to the cached CRL.


return to top DESCRIPTION  

This function caches a copy of a CertificateRevocationList (CRL)for subsequent accesses using the functions CSSM_CL_CrlGetFirstFieldValue() and CSSM_CL_CrlGetNextFieldValue() (or their CL SPI equivalents).

The input CRL must be in an encoded representation. The CertificateLibrary module can cache the CRL in any appropriate internal representation.Parsed or incrementally parsed representations are common. The selectedrepresentation is opaque to the caller.

The application must call CSSM_CL_CrlCacheAbort() (CSSM API), or CL_CrlCacheAbort() (CL SPI), to remove the cached copy when additional get operationswill not be performed on the cached CRL.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.
CSSMERR_CL_INVALID_CRL_POINTERCSSMERR_CL_UNKNOWN_FORMAT


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions for the CSSM API:

CSSM_CL_CrlGetFirstCachedFieldValue, CSSM_CL_CrlGetNextCachedFieldValue, CSSM_CL_IsCertInCachedCrl, CSSM_CL_CrlAbortQuery, CSSM_CL_CrlAbortCache

Functions for the CLI SPI:

CL_CrlGetFirstCachedFieldValue, CL_CrlGetNextCachedFieldValue, CL_IsCertInCachedCrl, CL_CrlAbortQuery, CL_CrlAbortCache


go to previous page: CL_CrlAddCertCL_CrlAddCert
go to next page: CL_CrlCreateTemplateCL_CrlCreateTemplate