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


TP_CrlCreateTemplate
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

TP_CrlCreateTemplate: CSSM_TP_CrlCreateTemplate - Create an unsigned memory-resident CRL template (CDSA)

SYNOPSIS  

# include <cssm.h>

API:CSSM_RETURN CSSMAPI CSSM_TP_CrlCreateTemplate(CSSM_TP_HANDLE TPHandle,CSSM_CL_HANDLE CLHandle,uint32 NumberOfFields,const CSSM_FIELD *CrlFields,CSSM_DATA_PTR NewCrlTemplate)SPI:CSSM_RETURN CSSMTPI TP_CrlCreateTemplate(CSSM_TP_HANDLE TPHandle,CSSM_CL_HANDLE CLHandle,uint32 NumberOfFields,const CSSM_FIELD *CrlFields,CSSM_DATA_PTR NewCrlTemplate)


return to top LIBRARY  

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


return to top PARAMETERS  

TPHandle (input)
 The handle that describes the add-in trust policymodule used to perform this function.
CLHandle (input/optional)
 The handle that describes the add-in certificatelibrary module used to perform this function.
NumberOfFields (input)
 The number of OID/value pairs specified in the CrlFields inputparameter.
CrlFields (input)
 Any array of field OID/value pairs containing thevalues to initialize the CRL attribute fields
NewCrlTemplate (output)
 A pointer to the CSSM_DATA structure containingthe new CRL. The NewCrl->Data is allocatedby the service provider and must be deallocated by the application.


return to top DESCRIPTION  

This function creates an unsigned, memory-resident CRL template.Fields in the CRL are initialized based on the descriptive dataspecified by the OID/value input pairs in CrlFields andthe local domain policy of the TP. The specified OID/value pairscan initialize all or a subset of the general attribute fields inthe new CRL, though the module developer may specify a set of fieldsthat must be or cannot be set using this operation. The NewCrlTemplate outputis an unsigned CRL template in the format supported by the TP.


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_TP_INVALID_CL_HANDLECSSMERR_TP_INVALID_FIELD_POINTERCSSMERR_TP_UNKNOWN_TAGCSSMERR_TP_INVALID_NUMBER_OF_FIELDS


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions for the CSSM API:

CSSM_TP_CrlSignWithKey, CSSM_TP_CrlSignWithCert

Functions for the TP SPI:

TP_CrlSignWithKey, TP_CrlSignWithCert


go to previous page: TP_ConfirmCredResultTP_ConfirmCredResult
go to next page: TP_CrlVerifyTP_CrlVerify