DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40826>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40826





------- Additional Comments From [EMAIL PROTECTED]  2006-11-02 05:36 -------
(In reply to comment #9)
> Ok, I looked into this a little bit more and still need more details.
> 
> First, if you remove the SunPKCS11 provider and create a new instance, then 
> any
> PrivateKey objects from the old SunPKCS11 instance will not be usable with the
> new instance (and this exception will be thrown). 
> If the privateKey object is from the new provider, it should work. 
> 
> Can you let me know if you are doing this?

Each time i sign, i add the provider (Security.addProvider(p)) and create a new
PrivateKey object. Im not reusing nothing.. is it correct ? or i must have to
remove and add the provider each time? from what i know...when we use the
addProvider, it add the provider in the available slot, but we can add in a
specific slot, just using addProviderAt(p, 2) for instance.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to