Wan-Teh

Thanks, I figured these were "older" functions and now use PK11_ImportCert,
which I believe is what one should do with the latest NSS code in lieu of
the bottom two functions.  I removed the CERT_GetCertKeyType since we no
longer have a need for it.

I also understand that the NSS static libraries may go away one of these
days, and hopefully all the critical functions will be exported in the
replacement dll.  We use the subject function to install and associate a
certificate with the public/private keys generated by the
PK11_GenerateKeyPair and SEC_DerSignData functions.  The certificate itself
is generated using common code we have to generate certificates for both the
Microsoft and Netscape browser.

Ken



"Wan-Teh Chang" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Kenneth R. Robinette wrote:
>
> > In the latest mozilla distribution, it appears that the following three
> > functions are not present:
> >
> > CERT_GetCertKeyType
> > CERT_AddTempCertToPerm
> > CERT_NewTempCertificate
> >
> > or at least they are not available in nss3.lib.  Does that imply the
only
> > way to access these functions is via the static libraries or older
versions
> > of Mozilla?
>
>
> If these symbols are not listed in mozilla/security/nss/lib/nss/nss.def,
> they are not exported by the NSS3 shared library.
>
> Although they are available in the static libraries, you should not
> link with the NSS static libraries.  NSS static libraries are not
> supported and may be removed in a future NSS release.
>
> Wan-Teh
>



Reply via email to