|
CL_CrlCreateTemplate(3)
Contents |
CL_CrlCreateTemplate, CSSM_CL_CrlCreateTemplate - Create
an unsigned, memory-resident CRL (CDSA)
# include <cdsa/cssm.h>
API: CSSM_RETURN CSSMAPI CSSM_CL_CrlCreateTemplate
(CSSM_CL_HANDLE CLHandle, uint32 NumberOfFields, const
CSSM_FIELD *CrlTemplate, CSSM_DATA_PTR NewCrl) SPI:
CSSM_RETURN CSSMCLI CL_CrlCreateTemplate (CSSM_CL_HANDLE
CLHandle, uint32 NumberOfFields, const CSSM_FIELD *CrlTemplate,
CSSM_DATA_PTR NewCrl)
Common Security Services Manager library (libcssm.so)
The handle that describes the add-in Certificate Library
module used to perform this function. The number of
OID/value pairs specified in the CrlTemplate input parameter.
An array of OID/value pairs specifying the initial
values for descriptive data fields of the new CRL. A
pointer to the CSSM_DATA structure containing the new CRL.
The NewCrl-> Data is allocated by the service provider and
must be deallocated by the application.
This function creates an unsigned, memory-resident CRL.
Fields in the CRL are initialized with the descriptive
data specified by the OID/value input pairs. The specified
OID/value pairs can initialize all or a subset of the general
attribute fields in the new CRL. Subsequent values
can be set using the CSSM_CL_CrlSetFields() (CSSM API) or
the CL_CrlSetFields() (CL SPI) function. The new CRL contains
no revocation records.
A CSSM_RETURN value indicating success or specifying a
particular error condition. The value CSSM_OK indicates
success. All other values represent an error condition.
Errors are described in the CDSA technical standard. See
CDSA_intro(3). CSSMERR_CL_INVALID_FIELD_POINTER CSSMERR_CL_UNKNOWN_TAG
CSSMERR_CL_INVALID_NUMBER_OF_FIELDS
CSSMERR_CL_INVALID_CRL_POINTER
Books
Intel CDSA Application Developer's Guide (see
CDSA_intro(3))
Reference Pages [Toc] [Back]
Functions for the CSSM API:
CSSM_CL_CrlSetFields(3), CSSM_CL_CrlAddCert(3),
CSSM_CL_CrlSign(3), CSSM_CL_CertGetFirstFieldValue(3)
Functions for the CLI SPI:
CL_CrlSetFields(3), CL_CrlAddCert(3), CL_CrlSign(3),
CL_CertGetFirstFieldValue(3)
CL_CrlCreateTemplate(3)
[ Back ] |