Does anyone know if there is some way to get a list of the available PKCS#11 tokens for a particular client using Javascript and XPCOM?

If I do a keygen, I am prompted to choose one of the available tokens - basically I want to capture which token the user is selecting.

The nsIPK11TokenDB interface in the @mozilla.org/security/pk11tokendb;1 class has a listTokens method but I cannot seem to get it to return anything.

Any help would be most appreciated....

-Scott

_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to