#include <IPKIFPasswordCallback.h>
Definition at line 15 of file IPKIFPasswordCallback.h.
Public Member Functions | |
IPKIFPasswordCallback () | |
virtual | ~IPKIFPasswordCallback () |
virtual char * | operator() (const char *tokenName, bool retrying)=0 |
CAC_API IPKIFPasswordCallback::IPKIFPasswordCallback | ( | ) |
constructor that does nothing but needs to be present in order for subclasses to be usable
Definition at line 14 of file IPKIFPasswordCallback.cpp.
CAC_API IPKIFPasswordCallback::~IPKIFPasswordCallback | ( | ) | [virtual] |
destructor that does nothing but needs to be present in order for subclasses to be usable
Definition at line 20 of file IPKIFPasswordCallback.cpp.
virtual char* IPKIFPasswordCallback::operator() | ( | const char * | tokenName, | |
bool | retrying | |||
) | [pure virtual] |
Invoked when PKIF needs to prompt for a password the 0-terminated string returned by this operator must be allocated with PKIFNew because it will be zeroed by PKIFZero() and freed by PKIFDelete()
tokenName | [in] name or identifier for token that needs a password |
retrying | [in] true if this is a retry due to a failed previous attempt |
Implemented in CPKIFSimplePasswordCallback.