CMessageDigestFactory Class Reference

class CMessageDigestFactory : public CBase

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

Inherits from

Member Functions Documentation

NewDigestL(CMessageDigest::THashId)

IMPORT_C CMessageDigest * NewDigestL ( CMessageDigest::THashId aHashId ) [static]

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

Parameters

CMessageDigest::THashId aHashId The identity of the hash algorithm

NewDigestLC(CMessageDigest::THashId)

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.

Parameters

CMessageDigest::THashId aHashId The identity of the hash algorithm

NewHMACL(CMessageDigest::THashId, const TDesC8 &)

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.

Parameters

CMessageDigest::THashId aHashId The identity of the hash algorithm
const TDesC8 & aKey The authentication key

NewHMACLC(CMessageDigest::THashId, const TDesC8 &)

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.

Parameters

CMessageDigest::THashId aHashId The identity of the hash algorithm
const TDesC8 & aKey The authentication key