Wan-Teh

After reading your note and thinking about it, I went back and compiled our
application using only dll linkage.  All went well except for one function,
CERT_DecodeDERCertificate().  This is a rather common function required by
many things, including the utilities supplied with NSS.  Is there a
replacement function I should be using that I have overlooked?  I am using
the latest mozilla distribution.  I did see where I should be using
PK11_ImportCertForKeyToSlot instead of  PK11_ImportCert() as I mentioned in
my last note.

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