Linux Mac OSX Windows

Implemented by

 nsITokenPasswordDialogs
  This is the interface for setting and changing password
  on a PKCS11 token.
[scriptable, uuid(be26b580-1dd1-11b2-9946-c598d0d07727)]
interface nsITokenPasswordDialogs : nsISupports

Methods


        
void getPassword(in nsIInterfaceRequestor ctx, in wstring tokenName, out wstring password, out boolean canceled)
 setPassword - sets the password/PIN on the named token.
   The canceled output value should be set to TRUE when
   the user (or implementation) cancels the operation.
void setPassword(in nsIInterfaceRequestor ctx, in wstring tokenName, out boolean canceled)