class CryptoSpi::CHashFactory |
the Factory to create synchronous and asynchronous hash instances
Public Member Functions | |
---|---|
IMPORT_C void | CreateAsyncHashL (CAsyncHash *&, TUid , TUid , const CKey *, const CCryptoParams *) |
IMPORT_C void | CreateHashL (CHash *&, TUid , TUid , const CKey *, const CCryptoParams *) |
IMPORT_C void | CreateAsyncHashL | ( | CAsyncHash *& | aAsyncHash, |
TUid | aAlgorithmUid, | |||
TUid | aOperationMode, | |||
const CKey * | aKey, | |||
const CCryptoParams * | aAlgorithmParams | |||
) | [static] |
Create a CAsyncHash instance
CAsyncHash *& aAsyncHash | The pointer to CAsyncHash |
TUid aAlgorithmUid | The specific hash algorithm e.g. MD2, SHA1, MD4 |
TUid aOperationMode | The operation mode of the hash e.g. Hash mode, Hmac mode |
const CKey * aKey | The key for Hmac mode, which should be NULL in Hash mode |
const CCryptoParams * aAlgorithmParams | The parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
IMPORT_C void | CreateHashL | ( | CHash *& | aHash, |
TUid | aAlgorithmUid, | |||
TUid | aOperationMode, | |||
const CKey * | aKey, | |||
const CCryptoParams * | aAlgorithmParams | |||
) | [static] |
Create a CHash instance
CHash *& aHash | The pointer to CHash |
TUid aAlgorithmUid | The specific hash algorithm e.g. MD2, SHA1, MD4 |
TUid aOperationMode | The operation mode of the hash e.g. Hash mode, Hmac mode |
const CKey * aKey | The key for Hmac mode, which should be NULL in Hash mode |
const CCryptoParams * aAlgorithmParams | The parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.