Hi,

sorry for repeat the question, but i really didn't find a way to solve this problem.

I have a problem when i try to update present token list.

I can show a list with all the tokens, but when i change, remove or insert another token and i try to reload the list, i get only the same tokens that i had before the insertions and changes.

how I can update the list of present tokens?

I`m trying to reload using

Enumeration modulos = cryptomanager.getModules();
(...)
mod = (PK11Module) modulos.nextElement();
mod.reloadTokens();
Enumeration en = mod.getTokens();
(...)

But the chunk "Enumeration en = mod.getTokens()" brings a unchanged list. As if I had not modified or inserted other token.

I noticed that the firefox show all USB ports, having tokens inserted or not, simulating a kind of virtual token. This simulation allows to recognize the tokens inserted after initialize the cryptomanager.

How can i simulate this virtual tokens?

obs: I don't speak English so well. if you don't understand something i try to explain again.

Thanks
Igor Delacroix
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to