CMessageDigestFactory Class Reference

class CMessageDigestFactory : public CBase

Factory to create a CMessageDigest derived object according to the identity of the hash algorithm.

Inherits from

  • CMessageDigestFactory

Member Functions Documentation

NewDigestL(CMessageDigest::THashId)

IMPORT_C CMessageDigest *NewDigestL(CMessageDigest::THashIdaHashId)[static]

Creates a CMessageDigest derived object according to the specified type of hash algorithm.

Parameters

CMessageDigest::THashId aHashIdThe identity of the hash algorithm

NewDigestLC(CMessageDigest::THashId)

IMPORT_C CMessageDigest *NewDigestLC(CMessageDigest::THashIdaHashId)[static]

Creates a CMessageDigest derived object according to the specified type of hash algorithm.

The returned pointer is put onto the cleanup stack.

Parameters

CMessageDigest::THashId aHashIdThe identity of the hash algorithm

NewHMACL(CMessageDigest::THashId, const TDesC8 &)

IMPORT_C CMessageDigest *NewHMACL(CMessageDigest::THashIdaHashId,
const TDesC8 &aKey
)[static]

Creates a CMessageDigest derived object according to the specified type of hash algorithm and authentication key.

Parameters

CMessageDigest::THashId aHashIdThe identity of the hash algorithm
const TDesC8 & aKeyThe authentication key

NewHMACLC(CMessageDigest::THashId, const TDesC8 &)

IMPORT_C CMessageDigest *NewHMACLC(CMessageDigest::THashIdaHashId,
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.

Parameters

CMessageDigest::THashId aHashIdThe identity of the hash algorithm
const TDesC8 & aKeyThe authentication key