Aleksey Sanin wrote:
NSS has a database known as "secmod.db" which contains configuration
information about the various PKCS11 modules and slots.
OK, I know about the modutil function. But in this case I am interested in some API calls and not a command line utility because the application (OpenOffice.org) wants to show a custom UI for selecting prefered modules/slots.
In NSS 3.10, modutil is just another NSS program. It does everything that it does using public official NSS APIs (AFAIK). So, another application could make the same NSS API calls as modutil does.
Currently, they just created yet another list of prefered slots in the application itself and I was wonderting if there is a better way to do it using NSS "prefered slots" infrastructure directly.
The modutil source code is intended to be an example of how to use those API functions. See it at http://lxr.mozilla.org/security/source/security/nss/cmd/modutil/modutil.c
/Nelson _______________________________________________ mozilla-crypto mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-crypto
