|
|
Library Description Errors | Parameters Return Value See Also |
API:CSSM_RETURN CSSMAPI CSSM_CL_CertCreateTemplate(CSSM_CL_HANDLE CLHandle,uint32 NumberOfFields,const CSSM_FIELD *CertFields,CSSM_DATA_PTR CertTemplate)SPI:CSSM_RETURN CSSMCLI CL_CertCreateTemplate(CSSM_CL_HANDLE CLHandle,uint32 NumberOfFields,const CSSM_FIELD *CertFields,CSSM_DATA_PTR CertTemplate)
cdsa$incssm300_shr.exe
)CLHandle (input) | ||
The handle that describes the certificate librarymodule used to perform this function. | ||
NumberOfFields (input) | ||
The number of certificate field values specifiedin the CertFields . | ||
CertFields (input) | ||
A pointer to an array of OID/value pairs that identifythe field values to initialize a new certificate. | ||
CertTemplate (output) | ||
A pointer to a CSSM_DATA structure that will containthe unsigned certificate template as a result of this function. |
CertTemplate->Data
.The template values are specified by the input OID/value pairs containedin CertFields
. The initialization process includesencoding all certificate field values according to the certificatetype and certificate encoding supported by the certificate librarymodule.The memory for CertTemplate->Data
isallocated by the service provider using the calling application's memorymanagement routines. The application must deallocate the memory.
CSSMERR_CL_INVALID_FIELD_POINTERCSSMERR_CL_UNKNOWN_TAGCSSMERR_CL_INVALID_NUMBER_OF_FIELDS
Intel CDSA Application Developer's Guide
Functions for the CSSM API:
CSSM_CL_CertGetAllTemplateFields, CSSM_CL_CertSign
Functions for the CLI SPI:
CL_CertGetAllTemplateFields, CL_CertSign
|
|