This function imports a certificate from the specified foreign format into the native format of the specified CL. The set of ForeignCertTypes supported for import varies with the CL module. See the information provided by the module vendor for a list of supported foreign certificate formats.
CSSM_DATA_PTR CSSMAPI CSSM_CL_CertImport
(CSSM_CL_HANDLE CLHandle,
CSSM_CERT_TYPE ForeignCertType,
const CSSM_DATA_PTR ForeignCert)
Input
A pointer to the CSSM_DATA structure containing the native-type certificate imported from the foreign certificate. If the pointer is NULL, an error has occurred. Use CSSM_GetError to obtain the error code.
CSSM_CL_CertExport