PasswordNeeded Event
This event is fired when a decryption password is needed.
Syntax
cryptokeystorage.on('PasswordNeeded', [callback])
Callback
The 'callback' is called when the 'PasswordNeeded' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.neededFor e.password e.cancel
Remarks
The class fires this event when a password is needed to decrypt a certificate or a private key.
In the handler of this event, assign the password to the Password parameter, or set Cancel to true to abort the operation.
The NeededFor parameter identifies the key or certificate for which the password is requested.