#include <FingerPrint.h>
List of all members.
Detailed Description
This generates a finger print using the one way hash function Whirlpool.
Constructor & Destructor Documentation
| zeus::TFingerPrint::TFingerPrint |
( |
) |
|
| TFingerPrint::~TFingerPrint |
( |
) |
[virtual] |
Member Function Documentation
| virtual void MQUALIFIER zeus::TFingerPrint::addRef |
( |
) |
const [virtual] |
| Retval TFingerPrint::generatePrint |
( |
const IString & |
rKeyName, |
|
|
const IString & |
rData |
|
) |
| |
Generate a finger print out of a text
- Parameters:
-
| rKeyName | : Name of the key |
| rData | : String data |
- Return values:
-
| RET_NOERROR | : Finger print generared |
| RET_INVALID_PARAMETER | : arr is NULL |
| RET_REQUEST_FAILED | : Finger print already generated |
Generate a finger print out of an array of data
- Parameters:
-
| rKeyName | : Name of the key |
| rArray | : Array of data |
- Return values:
-
| RET_NOERROR | : Finger print generared |
| RET_INVALID_PARAMETER | : arr is NULL |
| RET_REQUEST_FAILED | : Finger print already generated |
| Retval TFingerPrint::generatePrintFromFile |
( |
const IString & |
rKeyName, |
|
|
const IString & |
rFileName, |
|
|
Int |
iMaxSize = 2000000 |
|
) |
| |
Generate a finger print out of file
- Parameters:
-
| rKeyName | : Name of the key |
| rFileName | : Name of the file |
| iMaxSize | : Maximum size of the file to check. All bytes above this maximum will be ignored. |
- Return values:
-
| RET_NOERROR | : Finger print generared |
| RET_REQUEST_FAILED | : Finger print already generated |
| RET_INVALID_DATA | : Could not access the file |
| Retval TFingerPrint::getFingerPrint |
( |
IByteArray & |
rValue ) |
const |
Returns the fingerprint as a byte array
- Parameters:
-
- Return values:
-
| RET_NOERROR | : Successfully returned |
| RET_REQUEST_FAILED | : No Finger print has been generated |
| RET_INVALID_PARAMETER | : Invalid parameter received |
| TString TFingerPrint::getKeyName |
( |
) |
const |
Returns the name of the finger print
- Returns:
- key name
| bool TFingerPrint::operator!= |
( |
const TFingerPrint & |
inpar ) |
const |
Compares two finger prints to be equal
- Parameters:
-
- Return values:
-
| true | : Equal |
| false | : different |
| bool TFingerPrint::operator== |
( |
const TFingerPrint & |
inpar ) |
const |
Compares two finger prints to be equal
- Parameters:
-
- Return values:
-
| true | : Equal |
| false | : different |
| virtual void MQUALIFIER zeus::TFingerPrint::release |
( |
) |
const [virtual] |
| zeus::TFingerPrint::SERIAL_STRING |
( |
m_strKeyName |
) |
const |
Member Data Documentation
The documentation for this class was generated from the following files: