You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi xipki,
i'm trying to understand the reason of this error. I use a multithread application that implement this pattern:
Initialize Module (static and synchronized from only main thread)
Get list of slot (static and synchronized from only main thread)
Initialize Token (static and synchronized from only main thread)
Create Session (static and synchronized multi threading)
Perform activities (multi threading)
Close Session (multi threading)
It work fine but sometimes i receive this error and all activities on all static initialized tokens (create sessions, encrypt, signature, etc.) failed with CKR_0X80000384.
The only way to use the application is restart the application (so it close also Module communication)
I don't know if this pattern is correct or i should not use static tokens, but
pkcs11_slots[slotReference].getToken();
before each create session
What do you think about ?
The text was updated successfully, but these errors were encountered:
Hi xipki,
i'm trying to understand the reason of this error. I use a multithread application that implement this pattern:
It work fine but sometimes i receive this error and all activities on all static initialized tokens (create sessions, encrypt, signature, etc.) failed with CKR_0X80000384.
The only way to use the application is restart the application (so it close also Module communication)
I don't know if this pattern is correct or i should not use static tokens, but
before each create session
What do you think about ?
The text was updated successfully, but these errors were encountered: