CryptoSpi::CSymmetricCipherFactory Class Reference
class CryptoSpi::CSymmetricCipherFactory |
This Factory to create synchronous and asynchronous symmetric cipher instances
Public Member Functions |
---|
IMPORT_C void | CreateAsyncSymmetricCipherL(CAsyncSymmetricCipher *&, TUid, const CKey &, TUid, TUid, TUid, const CCryptoParams *) |
IMPORT_C void | CreateSymmetricCipherL(CSymmetricCipher *&, TUid, const CKey &, TUid, TUid, TUid, const CCryptoParams *) |
Member Functions Documentation
CreateAsyncSymmetricCipherL(CAsyncSymmetricCipher *&, TUid, const CKey &, TUid, TUid, TUid, const CCryptoParams *)
IMPORT_C void | CreateAsyncSymmetricCipherL | ( | CAsyncSymmetricCipher *& | aAsyncCipher, |
| TUid | aAlgorithmUid, |
| const CKey & | aKey, |
| TUid | aCryptoMode, |
| TUid | aOperationMode, |
| TUid | aPaddingMode, |
| const CCryptoParams * | aAlgorithmParams |
| ) | [static] |
Creates a new asynchronous instance of a symmetric cipher
Parameters
CAsyncSymmetricCipher *& aAsyncCipher | A reference to a pointer that should be set to point to the new symmetric object. |
TUid aAlgorithmUid | The algorithm to use |
const CKey & aKey | The encryption/decryption key. |
TUid aCryptoMode | The Symmetric cipher mode. |
TUid aOperationMode | The Symmetric cipher operation mode. |
TUid aPaddingMode | The Symmetric cipher padding mode. |
const CCryptoParams * aAlgorithmParams | Parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
CreateSymmetricCipherL(CSymmetricCipher *&, TUid, const CKey &, TUid, TUid, TUid, const CCryptoParams *)
IMPORT_C void | CreateSymmetricCipherL | ( | CSymmetricCipher *& | aCipher, |
| TUid | aAlgorithmUid, |
| const CKey & | aKey, |
| TUid | aCryptoMode, |
| TUid | aOperationMode, |
| TUid | aPaddingMode, |
| const CCryptoParams * | aAlgorithmParams |
| ) | [static] |
Creates a new synchronous instance of a symmetric cipher
Parameters
CSymmetricCipher *& aCipher | A reference to a pointer that should be set to point to the new symmetric object. |
TUid aAlgorithmUid | The algorithm to use |
const CKey & aKey | The encryption/decryption key. |
TUid aCryptoMode | The Symmetric cipher mode. |
TUid aOperationMode | The Symmetric cipher operation mode. |
TUid aPaddingMode | The Symmetric cipher padding mode. |
const CCryptoParams * aAlgorithmParams | 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.