Robert Relyea wrote:
> > > Jeffrey Stedfast wrote: > >> 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' > > > > These functions are internal functions, and are disappearing in 3.4. > > >> >> 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? > > Hmm here's the completion of the sentence I started in the previous reply. > > Try the function PK11_ImportCertForKeyToSlot if you are importing a user cert targetted for a token. CERT_ImportCerts for generic importing (particular DERCerts). bob
