

Removing the volatile key from the declarations and using the ‘OBJN0100′ format, updating the version variable to have 10 characters , I have the Error: <b>CPFB006</b> , and the Error code sections returns 16 , how can I read this error meaning ?
<pre>
int main() {
char path [50];
strcpy(path, “/QIBM/USERDATA/ICSS/CERT/SERVER/DEFAULT.KDB”);
int pathLength;
pathLength = strlen(path);
char format [20];
strcpy(format, “OBJN0100″);
char pwd [50];
strcpy(pwd, “fyi”);
int pwdLength;
pwdLength = strlen(pwd);
int ccsid;
ccsid = 850;
char exportPath [50];
strcpy(exportPath, “/home/me/export.pcks”);
int exportLength;
exportLength = strlen(exportPath);
char formatExport[20];
strcpy(formatExport, “OBJN0100″);
char version [20];
strcpy(version, “*PKCS12V3 “);
char pwdExport [20];
strcpy(pwdExport, “ryl”);
int expLength;
expLength = strlen(pwdExport);
void * temp = (void *) &errorCode;
QykmExportKeyStore(path,
&pathLength,
format,
pwd,
&pwdLength,
&ccsid,
exportPath,
&exportLength,
formatExport,
version,
pwdExport,
&expLength,
&ccsid,
&errorCode);
…
}
</pre>



