Re: How do I reset a password of slot for soft-token after removing the token

2008-09-10 Thread Subrata Mazumdar
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

Re: How do I reset a password of slot for soft-token after removing the token

2008-09-08 Thread Robert Relyea
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