IPKIFPasswordCallback Class Reference

#include <IPKIFPasswordCallback.h>

Inheritance diagram for IPKIFPasswordCallback:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 15 of file IPKIFPasswordCallback.h.


Public Member Functions

 IPKIFPasswordCallback ()
virtual ~IPKIFPasswordCallback ()
virtual char * operator() (const char *tokenName, bool retrying)=0

Constructor & Destructor Documentation

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.


Member Function Documentation

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()

Parameters:
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.


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:20:58 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6