Milan,
I've been working on getting the NSS provider stuff working on my
machine and have run into a few snags. So some questions :>.
1. The includes in the NSS files are of the form "nss/....h", which
means I have to put the nss include files into such a directory -
including nspr files, which on linux systems (or at Debian) are
separated intp nspr vs. nss directories. Would we be better just
including as (for example) <cert.h> and then having the user set what
the directories are? (Fits better with the mozilla model I think.)
2. I'm having no joy with __CERT_DecodeDERCertificate? From the
comments and from looking around it's a private function that we can't
see (or at least I can't when I link). Looking at CERT_ImportCerts I
don't know enough about the certificate DB to know how to do a temporary
cert. Any thoughts welcome!
Cheers,
Berin
- NSS provider Berin Lautenbach
-