Thanks Robert for your suggestion.
I realized that I have to release all reference to the slot. After
resetting
the token, the slot comes to normal state after I quit form the dialog
window
that I have used to release the initialized slot.
About the prompting for old password during token
Subrata Mazumdar wrote:
nsCOMPtrnsIPK11Token softToken;
rv = pkcs11Slot-GetToken(getter_AddRefs(softToken));
softToken-Login(PR_FALSE); // prompts for initializing password
. . .
softToken-Reset(); // expected that token/slot password would be in
the uninitialized state
2 matches
Mail list logo