Hi Manuel,

I had the same problem as you, and my answer at the moment is that I 
have no way to recover the certificates of a token plugged after 
initializing CryptoManager´s instance.
On the other hand, I cannot get another "updated" Cryptomanager´s 
instance because it is already initialized (I get an exception which 
points me that CryptoManager is already initialized) with the certs and 
keys that were in Firefox´s cert8.db and key3.db at first initialization.

Regards,
Jesús el tuty.

[EMAIL PROTECTED] escribió:
> Hi. I am using JSS in order to access to crypto operations on an applet 
> and everything seems to be ok, but I have found some problems in a 
> particular case. 
> When I detect Mozilla from the applet I get a CryptoManager's instance. 
> Some of the capabilities of the applet is signing so I ask internalTokens 
> and externalTokens for available certificates. If we have any PKCS#11 
> device at the moment of cryptoManager's instantiation we can get the 
> PKCS11 certificates with no problem but when we insert the pkcs11 token 
> after instantiation, we can't no more get the certificates from it. Is 
> there any way to reload new tokens (as our just plugged PKCS11 token) in 
> our cryptoManager? 
> I think a solution could be getting the instance again, but I am not sure 
> about security problems or even if it could work. 
>
> Regards,
> Manuel Reyes
> _______________________________________________
> dev-tech-crypto mailing list
> dev-tech-crypto@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
>   
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to