Re: window.crypto functions

2008-02-20 Thread Eddy Nigg (StartCom Ltd.)
Hi Bob, Robert Relyea wrote: > I think you need to be running a chrome to access this function > however;(. I don't think your average website can use it. If Firefox is considered an average and common browser than it's pretty usable. For MSIE we've got activeX (so I'm not the MS guy, don't ask

Re: window.crypto functions

2008-02-20 Thread Eddy Nigg (StartCom Ltd.)
Robert Relyea wrote: > > There are lots of APIs to get lots of data about smart cards, but just > like there are lots of APIs to do crypto, the aren't all available to > web designers through java script. Oh, it works excellent with Javascript in Firefox (and most derivatives I guess). Subrata

Re: window.crypto functions

2008-02-20 Thread Robert Relyea
Eddy Nigg (StartCom Ltd.) wrote: Subrata Mazumdar wrote: 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 bas

Re: window.crypto functions

2008-02-20 Thread Robert Relyea
Nelson Bolyard wrote: Robert Relyea wrote, On 2008-02-19 14:20: 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_cryp

Re: window.crypto functions

2008-02-19 Thread Eddy Nigg (StartCom Ltd.)
Subrata Mazumdar wrote: > 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 attri

Re: window.crypto functions

2008-02-19 Thread Nelson Bolyard
Robert Relyea wrote, On 2008-02-19 14:20: > 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

Re: window.crypto functions

2008-02-19 Thread Subrata Mazumdar
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 determin

Re: window.crypto functions

2008-02-19 Thread Eddy Nigg (StartCom Ltd.)
Robert Relyea wrote: > No, the API does not give you direct information about how many or > which tokens are installed. Typically that information is gleened by > doing a 'request/not require' client auth. I obviously know what client auth is, but what is "'request/not require' client auth"? >

Re: window.crypto functions

2008-02-19 Thread Robert Relyea
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

Re: window.crypto functions

2008-02-19 Thread Eddy Nigg (StartCom Ltd.)
Hi Nelson, Nelson Bolyard wrote: > Eddy Nigg (StartCom Ltd.) wrote, On 2008-02-18 08:09: > >> 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#H

Re: window.crypto functions

2008-02-19 Thread Nelson Bolyard
Eddy Nigg (StartCom Ltd.) wrote, On 2008-02-18 08:09: > 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