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


CL_IsCertInCrl
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CL_IsCertInCrl: CSSM_CL_IsCertInCrl - Search CRL for a certificate record (CDSA)

SYNOPSIS  

# include <cssm.h>

API:CSSM_RETURN CSSMAPI CSSM_CL_IsCertInCrl(CSSM_CL_HANDLE CLHandle,const CSSM_DATA *Cert,const CSSM_DATA *Crl,CSSM_BOOL *CertFound)SPI:CSSM_RETURN CSSMCLI CL_IsCertInCrl(CSSM_CL_HANDLE CLHandle,const CSSM_DATA *Cert,const CSSM_DATA *Crl,CSSM_BOOL *CertFound)


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.
Cert (input) A pointer to the CSSM_DATA structure containingthe certificate to be located.
Crl (input) A pointer to the CSSM_DATA structure containingthe CRL to be searched.
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.


return to top DESCRIPTION  

This function searches the CRL for a record correspondingto the certificate. The result of the search is returned in 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.


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_CERT_POINTERCSSMERR_CL_INVALID_CRL_POINTERCSSMERR_CL_UNKNOWN_FORMAT


return to top SEE ALSO  

Intel CDSA Application Developer's Guide
go to previous page: CL_IsCertInCachedCrlCL_IsCertInCachedCrl
go to next page: CL_PassThroughCL_PassThrough