Importing a Certificate
You can import a certificate to the CipherTrust Manager from your application. The CipherTrust Manager determines the certificate format from the certificate itself. When importing, set the deletable and exportable flags. If the certificate is in PKCS#12 format, include the password in the last parameter. Otherwise pass a null there.
Note
Before importing the certificate, you must manually import the CA certificate using the Management Console.
To import, use the following function:
I_T_RETURN FUNCEXP
I_C_ImportCertificate(I_O_Session sessionHandle, const I_T_CHAR * certificateName, I_T_BOOL deletableFlag,I_T_BOOL exportableFlag, I_O_GroupList groupList, const I_T_CHAR * password, I_T_CHAR * data, I_T_UINT dataSize);
For details, refer to the CADP for C CAPI API Guide.
Note
Certificates imported to the CipherTrust Manager using the above function appear in the Management Console’s Key and Policy Configuration page and not on the Certificate and CA Configuration page.