Alexander Dimitrov wrote:this may be a dumb question, but what should i type as nickname in above function to get a list of user certificates?
You need a different function to enumerate the user certs. That function exists to find the cert with a given nickname, not to enumerate certs with all nicknames.
Sorry, I don't know the name of the function that you need.
I'm not convinced it exists at the CryptoManager level.
nsCertPicker will create a pop-up for the user to select a certificate, and give back a certificate handle directly.
He will probably have to go down to the NSS interface level and use CERT_FindUserCertsByUsage to do that.
Like the implementation of nsCertPicker does.
_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto
