How can I add a certificate into the permanant cert db assuming it's in the CERT_Certificate data type?
Trying to do something similar to what is done in certutil.c, I get the following: undefined reference to `CERT_MakeCANickname' undefined reference to `CERT_AddTempCertToPerm' undefined reference to `CERT_NewTempCertificate' Since I have come accross a similar problem previously (when implementing an S/MIME plug-in) and was told that the functions had been deprecated, I assume this is the case again? Trying to help myself before bothering you all, I looked through headers and found functions that might do what I want (or at least the function names suggest the action I want) although I forget the function names now, but that's irrelavent I suppose. The problem that I had with these functions is that they required DER encoded SECItems (iirc). So I guess my ultimate question here (assming that the above symbols are indeed no longer supported interfaces) is: "how do I convert a single CERT_Certificate into a DER encoded SECItem?" Also, if there is some verbose documentation on this, where can I find it? I suspect I will have further questions sometime down the line... Thanks, Jeff
