Eddy, I think that you can do it. Have you looked into nsIPK11Token interface (http://lxr.mozilla.org/mozilla1.8.0/source/security/manager/ssl/public/nsIPK11Token.idl) ? The nsIPK11Token interface would allow you to filter tokens based on a number of attributes and eventually you can determine the desired token is present. -- Subrata
Eddy Nigg (StartCom Ltd.) wrote: > Does anybody know if and which parameters might be obtained by the > window.crypto functions and smart cards? For reference see this page: > http://developer.mozilla.org/en/docs/JavaScript_crypto#Handling_Smart_Card_Events > > > > Specifically I'd like to know if there is a function to check if a > smart card was already inserted before accessing a certain page. Is it > possible to obtain a smart card ID or other properties of the smart > card device (as loaded by NSS)? > _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto