WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsITokenPasswordDialogs

IID:be26b580-1dd1-11b2-9946-c598d0d07727
Inherits From:nsISupports

This is the interface for setting and changing password on a PKCS11 token.

This interface is implemented by the following components:


Methods

void getPassword ( nsIInterfaceRequestor ctx , PRUnichar* tokenName , out PRUnichar* password , out PRBool canceled ) void setPassword ( nsIInterfaceRequestor ctx , PRUnichar* tokenName , out PRBool canceled )

void getPassword ( nsIInterfaceRequestor ctx , PRUnichar* tokenName , out PRUnichar* password , out PRBool canceled )

Arguments:
ctx
tokenName
password
canceled

void setPassword ( nsIInterfaceRequestor ctx , PRUnichar* tokenName , out PRBool 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.

Arguments:
ctx
tokenName
canceled

Reference documentation is generated from Mozilla's source.