#include <PKIFSimplePasswordCallback.h>
Definition at line 25 of file PKIFSimplePasswordCallback.h.
Public Member Functions | |
CPKIFSimplePasswordCallback () | |
virtual | ~CPKIFSimplePasswordCallback () |
virtual char * | operator() (const char *tokenName, bool retrying) |
void | SetParent (wxWindow *parent) |
CPKIFSimplePasswordCallback::CPKIFSimplePasswordCallback | ( | ) |
Interface: External
Default constructor
Definition at line 22 of file PKIFSimplePasswordCallback.cpp.
CPKIFSimplePasswordCallback::~CPKIFSimplePasswordCallback | ( | ) | [virtual] |
Interface: External
Dummy destructor
Definition at line 34 of file PKIFSimplePasswordCallback.cpp.
char * CPKIFSimplePasswordCallback::operator() | ( | const char * | tokenName, | |
bool | retrying | |||
) | [virtual] |
Interface: External
Called by PKIF to obtain a password from a user
Note that this probably shouldn't be used in applications where untrusted users could access a machine. Though PKIF is very careful with the password we return from this function, there's no guarantee that the wxWidgets dialog is similarly sanitary.
Implements IPKIFPasswordCallback.
Definition at line 49 of file PKIFSimplePasswordCallback.cpp.
References PKIFNew(), and WXCASTCHARS.
void CPKIFSimplePasswordCallback::SetParent | ( | wxWindow * | parent | ) |
Interface: External
This function sets the parent
Definition at line 76 of file PKIFSimplePasswordCallback.cpp.