#include <qca_core.h>
Inheritance diagram for QCA::EventHandler:
Public Member Functions | |
EventHandler (QObject *parent=0) | |
void | start () |
void | submitPassword (int id, const SecureArray &password) |
void | tokenOkay (int id) |
void | reject (int id) |
Public Attributes | |
Q_SIGNALS | __pad0__: void eventReady(int id |
Q_SIGNALS const QCA::Event & | context |
Friends | |
class | Private |
This class is used on client side applications to handle the provision of passwords, passphrases and PINs by users, and to indicate that tokens have been correctly inserted.
The concept behind this class is that the library can raise events (typically using PasswordAsker or TokenAsker), which may (or may not) be handled by the application using a handler object (that has-a EventHandler, or possibly is-a EventHandler) that is connected to the eventReady() signal.
|
Constructor.
|
|
mandatory function to call after connecting the signal to a slot in your application specific password / passphrase / PIN or token handler
|
|
function to call to return the user provided password, passphrase or PIN.
|
|
function to call to indicate that the token has been inserted by the user.
|
|
function to call to indicate that the user declined to provide a password, passphrase, PIN or token.
|