#include <hash.h>
| class CMessageDigestFactory : public CBase |
| Public Member Functions | |
|---|---|
| IMPORT_C CMessageDigest * | NewDigestL(CMessageDigest::THashId) |
| IMPORT_C CMessageDigest * | NewDigestLC(CMessageDigest::THashId) |
| IMPORT_C CMessageDigest * | NewHMACL(CMessageDigest::THashId, const TDesC8 &) |
| IMPORT_C CMessageDigest * | NewHMACLC(CMessageDigest::THashId, const TDesC8 &) |
Factory to create a CMessageDigest derived object according to the identity of the hash algorithm.
| IMPORT_C CMessageDigest * | NewDigestL | ( | CMessageDigest::THashId | aHashId | ) | [static] |
Creates a CMessageDigest derived object according to the specified type of hash algorithm.
| Parameter | Description |
|---|---|
| aHashId | The identity of the hash algorithm |
Returns: A pointer to a CMessageDigest object
| IMPORT_C CMessageDigest * | NewDigestLC | ( | CMessageDigest::THashId | aHashId | ) | [static] |
Creates a CMessageDigest derived object according to the specified type of hash algorithm.
The returned pointer is put onto the cleanup stack.
| Parameter | Description |
|---|---|
| aHashId | The identity of the hash algorithm |
Returns: A pointer to a CMessageDigest object
| IMPORT_C CMessageDigest * | NewHMACL | ( | CMessageDigest::THashId | aHashId, |
| const TDesC8 & | aKey | |||
| ) | [static] | |||
Creates a CMessageDigest derived object according to the specified type of hash algorithm and authentication key.
| Parameter | Description |
|---|---|
| aHashId | The identity of the hash algorithm |
| aKey | The authentication key |
Returns: A pointer to a CMessageDigest object
| IMPORT_C CMessageDigest * | NewHMACLC | ( | CMessageDigest::THashId | aHashId, |
| const TDesC8 & | aKey | |||
| ) | [static] | |||
Creates a CMessageDigest derived object according to the specified type of hash algorithm and authentication key.
The returned pointer is put onto the cleanup stack.
| Parameter | Description |
|---|---|
| aHashId | The identity of the hash algorithm |
| aKey | The authentication key |
Returns: A pointer to a CMessageDigest object