I'm using JSS 3.4 (with NSS 3.10) in a Java application.  The Java app
cannot see token events (such as smart card insertions and removals)
unless I exit the app and restart.  The public JSS methods
PK11Module.getTokens() and CryptoManager.getModules() return JSS's
snapshot of the tokens and modules present when the app started.  The
private JSS methods PK11Module.reloadTokens() and
CryptoManager.reloadModules() return NSS's snapshot of the tokens and
modules present when the app started (I made them public and called
them; this is what I saw).

When the Certificate Manager window is opened (or
chrome://pippki/content/certManager.xul is reloaded in the browser) the
certificates list is current, displaying only the certs on the inserted
tokens (therefore, I know that this functionality exists somewhere in
Mozilla).

How do I get JSS to take a current snapshot of the modules and tokens
without restarting the app?

Thanks.

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to