Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

HBCI::OutboxJobDisableLostKeys Class Reference

Job that locks both, the current crypt and sign key of a user. More...

#include <outboxjobkeys.h>

Inheritance diagram for HBCI::OutboxJobDisableLostKeys:

Inheritance graph
[legend]
List of all members.

Public Methods

 OutboxJobDisableLostKeys (const API *api, Pointer< Customer > c, int keyNumber=999, int keyVersion=999)
 ~OutboxJobDisableLostKeys ()
int messages () const
bool createHBCIJobs (Pointer< MessageQueue > mbox, int n=0)

Detailed Description

Job that locks both, the current crypt and sign key of a user.

This job locks the cryptographic keys and tells the bankserver not to accept them anymore. Use this job instead of OutboxJobDisableKeys if you don't have access to the keys anymore (e.g. if your key file is lost). Note: Most banks do not support this job in order to prevent abuse (you can lock out anybody if you know his/her userid;-)

Author:
Fabian Kaiser<fabian@openhbci.de>


Constructor & Destructor Documentation

HBCI::OutboxJobDisableLostKeys::OutboxJobDisableLostKeys const API   api,
Pointer< Customer   c,
int    keyNumber = 999,
int    keyVersion = 999
 

Constructor.

Parameters:
api  The HBCI-context
c  The owner of the lost keys
keyNumber  The number of the key to be disabled. If you don't know the number, try "999"
keyVersion  The version number of the key to be disabled. If you don't know the version number, try "999"

HBCI::OutboxJobDisableLostKeys::~OutboxJobDisableLostKeys  
 


Member Function Documentation

bool HBCI::OutboxJobDisableLostKeys::createHBCIJobs Pointer< MessageQueue >    mbox,
int    n = 0
[virtual]
 

Let the job create the "real" jobs and add them to the message queue given.

Author:
Martin Preuss<martin@libchipcard.de>
Returns :
true on success, false otherwise
Parameters:
mbox  pointer to the messagebox to add the jobs to
n  the number of the message to create. In most cases this is zero.

Reimplemented from HBCI::OutboxJobDisableKeys.

int HBCI::OutboxJobDisableLostKeys::messages   const [inline, virtual]
 

Returns the number of messages this job needs.

This method is used to calculate the return value of OutboxJob::stillMessagesToSend, and it is used by API::_handleJobQueue to determine the number of actions that are going to be started.

If this is a dialog job, then it consists of at least two messages:

  • dialog init message
  • dialog closing message
Since not all jobs may be mixed in ONE message this method returns the number of messages it needs.

Author:
Martin Preuss<martin@libchipcard.de>

Reimplemented from HBCI::OutboxJobDisableKeys.


The documentation for this class was generated from the following file:
Generated on Mon Jun 23 13:41:13 2003 for openhbci by doxygen1.2.17