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_CrlGetFirstFieldValueCL_CrlGetFirstFieldValue
go to next page: CL_CrlGetNextFieldValueCL_CrlGetNextFieldValue
end of book navigation links


CL_CrlGetNextCachedFieldValue
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CL_CrlGetNextCachedFieldValue: CSSM_CL_CrlGetNextCachedFieldValue - Get the value of the next cached CRL field (CDSA)

SYNOPSIS  

# include <cssm.h>

API:CSSM_RETURN CSSMAPI CSSM_CL_CrlGetNextCachedFieldValue(CSSM_CL_HANDLE CLHandle,CSSM_HANDLE ResultsHandle,CSSM_DATA_PTR *FieldValue)SPI:CSSM_RETURN CSSMCLI CL_CrlGetNextCachedFieldValue(CSSM_CL_HANDLE CLHandle,CSSM_HANDLE ResultsHandle,CSSM_DATA_PTR *FieldValue)


return to top LIBRARY  

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


return to top PARAMETERS  

CLHandle (input)
 The handle that describes the add-in CertificateLibrary module used to perform this function.
ResultsHandle (input)
 The handle that identifies the results of a CRLquery.
FieldValue (output)
 A pointer to the structure containing the valueof the requested field. The structure and the field at I"(*FiledValue)->Data" are allocated by the serviceprovider. The CSSM_CL_FreeFieldValue() (CSSM API), or CL_FreeFieldValue() (CL SPI), function can be used to deallocate *FieldValue and (*FieldValue)->Data.


return to top DESCRIPTION  

This function returns the value of a CRL field, when thatfield occurs multiple times in a CRL. CRLs with repeated fields(such as revocation records) have multiple field values correspondingto a single OID. A call to the function CSSM_CL_CrlGetFirstCachedFieldValue() (CSSM API), or CL_CrlGetFirstCachedFieldValue() (CL SPI), initiates the process and returns a ResultsHandle identifyingthe size and values contained in the result set. The CSSM_CL_CrlGetNextCachedFieldValue() (CSSM API), or CL_CrlGetNextCachedFieldValue() (CL SPI), function can be called repeatedly to obtain thesevalues, one at a time. The result set does not change in size orvalue between calls to this function.

The result set selected by CSSM_CL_CrlGetFirstCachedFieldValue() (CSSM API), or CL_CrlGetFirstCachedFieldValue() (CL SPI), and identified by ResultsHandle canreference CRL fields repeated across multiple revocation recordsor within one revocation record. The scope of the scan was set by anoptional CrlRecordIndex input to the function CSSM_CL_CrlGetFirstCachedFieldValue() (CSSM API), or CL_CrlGetFirstCachedFieldValue() (CL SPI). If the record index was specified, then theresults set is the revocation record identified by the index. Ifno record index was specified, then the results set can include repeatedfields from multiple revocation records in a 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_RESULTS_HANDLECSSMERR_CL_NO_FIELD_VALUES


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions for the CSSM API:

CSSM_CL_CrlGetFirstCachedFieldValue, CSSM_CL_CrlAbortQuery, CSSM_CL_IsCertInCachedCrl, CSSM_CL_CrlCache, CSSM_CL_CrlAbortCache, CSSM_CL_FreeFieldValue

Functions for the CLI SPI:

CL_CrlGetFirstCachedFieldValue, CL_CrlAbortQuery, CL_IsCertInCachedCrl, CL_CrlCache, CL_CrlAbortCache, CL_FreeFieldValue


go to previous page: CL_CrlGetFirstFieldValueCL_CrlGetFirstFieldValue
go to next page: CL_CrlGetNextFieldValueCL_CrlGetNextFieldValue