1

There exist a function called CryptUIDlgSelectCertificateFromStore in Windows library. It allows user to select a certificate from a list of certificates found in the cert store for Internet Explorer.

I am searching for the equivalent function in NSS, PKCS#11, Xulrunner, where user can select a certificate in Mozilla Firefox browser.

Thank you.

jariq
  • 11,681
  • 3
  • 33
  • 52
Nona Haron
  • 171
  • 1
  • 1
  • 6
  • 1
    Just a hint: PKCS#11 does not define/provide any dialogs. – jariq May 16 '15 at 20:03
  • Do the hint means i only left with two options? :) I am looking the XPCOM, nsICertPickDialogs. Not sure whether that is the right answer as well. – Nona Haron May 18 '15 at 13:08
  • I have no experience with those but I think you should take a look at [signTextJS addon](https://addons.mozilla.org/en-US/firefox/addon/signtextjs/) which enumerates user certificates available in Firefox and then displays custom dialog which allows user to pick one certificate for a signing operation. Addon [source code](https://github.com/mozkeeler/signTextJS/) is available on GitHub. – jariq May 18 '15 at 19:54
  • Thank you. It seems promising. – Nona Haron May 27 '15 at 16:19

0 Answers0