Implemented by
- @mozilla.org/nsTokenDialogs;1
- @mozilla.org/nsDOMCryptoDialogs;1
- @mozilla.org/nsCertificateDialogs;1
- @mozilla.org/nsBadCertListener;1
- @mozilla.org/nsTokenPasswordDialogs;1
- @mozilla.org/nsGeneratingKeypairInfoDialogs;1
- @mozilla.org/nsClientAuthDialogs;1
- @mozilla.org/nsCertPickDialogs;1
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)
Compare to: